mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2026-11-20 21:14:29 +03:00
chore(build): add macOS to build matrix
This commit is contained in:
1 parent
0af0a71d7d
commit
5efdfe3d22
2 files changed
+48
-32
No files matched your search
+24
-16
@@ -11,25 +11,33 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- name: Ubuntu Latest (GCC)
|
- name: Ubuntu Latest (GCC)
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
build_type: Release
|
build_type: Release
|
||||||
cc: "gcc"
|
test_path: WhoaTest
|
||||||
cxx: "g++"
|
cc: gcc
|
||||||
|
cxx: g++
|
||||||
|
|
||||||
|
- name: macOS Latest (Clang)
|
||||||
|
os: macos-latest
|
||||||
|
build_type: Release
|
||||||
|
test_path: WhoaTest
|
||||||
|
cc: clang
|
||||||
|
cxx: clang++
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd build && make install
|
run: cmake --build build --config ${{ matrix.config.build_type }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cd build && ./dist/bin/WhoaTest
|
run: ./build/bin/${{ matrix.config.test_path }}
|
||||||
+24
-16
@@ -14,25 +14,33 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- name: Ubuntu Latest (GCC)
|
- name: Ubuntu Latest (GCC)
|
||||||
os: ubuntu-latest
|
os: ubuntu-latest
|
||||||
build_type: Release
|
build_type: Release
|
||||||
cc: "gcc"
|
test_path: WhoaTest
|
||||||
cxx: "g++"
|
cc: gcc
|
||||||
|
cxx: g++
|
||||||
|
|
||||||
|
- name: macOS Latest (Clang)
|
||||||
|
os: macos-latest
|
||||||
|
build_type: Release
|
||||||
|
test_path: WhoaTest
|
||||||
|
cc: clang
|
||||||
|
cxx: clang++
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
run: mkdir build
|
run: mkdir build
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
run: cd build && cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd build && make install
|
run: cmake --build build --config ${{ matrix.config.build_type }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: cd build && ./dist/bin/WhoaTest
|
run: ./build/bin/${{ matrix.config.test_path }}
|
||||||
Reference in new issue
Block a user