Skip to content

Commit

Permalink
Incrementally setting up github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
tilkinsc committed Jun 7, 2023
1 parent 439fc2a commit 5b7d395
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ "master" ]

jobs:
build:
linux-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -24,3 +24,21 @@ jobs:
with:
name: Linux Binaries
path: linux-binaries.7z
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: make tests
run: make tests
- name: Test C
run: test_c.exe
- name: Test C++
run: test_cpp.exe
- name: Migrate binaries
run: 7z a windows-binaries.7z *.a *.dll
- uses: actions/upload-artifact@v3
name: upload binaries
with:
name: Windows Binaries
path: windows-binaries.7z

0 comments on commit 5b7d395

Please sign in to comment.