Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vorlac authored Sep 30, 2023
1 parent 50e1237 commit 1c7199b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,33 @@ jobs:
- uses: actions/checkout@v3

# linux / gcc build
- name: [linux | gcc] => cmake - delete cache
- name: '[linux | gcc] => cmake - delete cache'
run: rm -rf ${{ github.workspace }}/.out/*
- name: [linux | gcc] => cmake - configure
- name: '[linux | gcc] => cmake - configure'
run: >
cmake -B ${{ github.workspace }}/.out
-DCMAKE_CXX_COMPILER=g++
-DCMAKE_C_COMPILER=gcc
-DCMAKE_BUILD_TYPE=Debug
-S ${{ github.workspace }}
-G Ninja
- name: [linux | gcc] => cmake - clean
- name: '[linux | gcc] => cmake - clean'
run: cmake --build ${{ github.workspace }}/.out --config Debug --target clean --parallel 48
- name: [linux | gcc] => cmake - build
- name: '[linux | gcc] => cmake - build'
run: cmake --build ${{ github.workspace }}/.out --config Debug --target roguelite --parallel 48

# linux / clang build
- name: [linux | clang] => cmake - delete cache
- name: '[linux | clang] => cmake - delete cache'
run: rm -rf ${{ github.workspace }}/.out/*
- name: [linux | clang] => cmake - configure
- name: '[linux | clang] => cmake - configure'
run: >
cmake -B ${{ github.workspace }}/.out
-DCMAKE_CXX_COMPILER=clang++
-DCMAKE_C_COMPILER=clang
-DCMAKE_BUILD_TYPE=Debug
-S ${{ github.workspace }}
-G Ninja
- name: [linux | clang] => cmake - clean
- name: '[linux | clang] => cmake - clean'
run: cmake --build ${{ github.workspace }}/.out --config Debug --target clean --parallel 48
- name: [linux | clang] => cmake - build
- name: '[linux | clang] => cmake - build'
run: cmake --build ${{ github.workspace }}/.out --config Debug --target roguelite --parallel 48

0 comments on commit 1c7199b

Please sign in to comment.