mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 22:59:47 +08:00
Github CI update
This commit is contained in:
parent
509089c0e2
commit
f5290d896b
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
@ -15,47 +15,44 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Setup cmake
|
||||
run: cmake -DBUILD_TESTS=ON ./
|
||||
|
||||
- name: Compile
|
||||
run: make
|
||||
- name: name: Build and run
|
||||
run: |
|
||||
cmake -DBUILD_TESTS=ON ./
|
||||
gcc --version
|
||||
make
|
||||
|
||||
- name: Run tests
|
||||
run: ./test/etl_tests
|
||||
|
||||
- name: Save artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Testfile
|
||||
path: test/etl_tests
|
||||
|
||||
build-clang-9-Linux:
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build and run
|
||||
run: |
|
||||
export CC=clang-9
|
||||
export CXX=clang++-9
|
||||
cmake -D BUILD_TESTS=ON ./
|
||||
clang --version
|
||||
make
|
||||
./test/etl_tests
|
||||
|
||||
- name: Save artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: Testfile
|
||||
path: test/etl_tests
|
||||
- name: Run tests
|
||||
run: ./test/etl_tests
|
||||
|
||||
build-clang-10-osx:
|
||||
runs-on: macos-10.15
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build and run
|
||||
run: |
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
cmake -D BUILD_TESTS=ON ./
|
||||
clang --version
|
||||
make
|
||||
./test/etl_tests
|
||||
|
||||
- name: Run tests
|
||||
run: ./test/etl_tests
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user