Skip to content

Commit

Permalink
This time I set up linux building right. Maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
JustDoom committed Dec 7, 2024
1 parent 002d2e0 commit afd338f
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ on:

jobs:
build-ubuntu:
runs-on: ubuntu-latest
runs-on: ubuntu-latestc

strategy:
fail-fast: false
matrix:
build_type: [ Release ]
c_compiler: [ gcc ]
cpp_compiler: [ g++ ]

steps:
- name: Checkout code
Expand All @@ -34,12 +41,23 @@ jobs:
ssh-keyscan github.com >> ~/.ssh/known_hosts
git submodule update --init --recursive
- name: Configure and build
- name: Configure CMake
run: |
mkdir build && cd build
mkdir -p build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
- name: Build CMake
run: |
cd build
cmake --build . --config Release
- name: Collect executable and assets
run: |
mkdir -p output
cp build/8ChocChip output/
cp -r build/assets output/
- name: Upload executable
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit afd338f

Please sign in to comment.