Skip to content

Commit

Permalink
Merge pull request #160 from malloch/fix-ci
Browse files Browse the repository at this point in the history
Fix CI script
  • Loading branch information
radarsat1 authored Nov 8, 2024
2 parents c1a51bc + 29dbfaf commit e5f6d07
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install dependencies
Expand All @@ -24,19 +24,20 @@ jobs:
run: make test
- name: make dist
run: make dist
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: tarball
path: |
liblo*.tar.gz
MacOS-Latest:
runs-on: macOS-latest
MacOS:
runs-on: macOS-13
timeout-minutes: 20
env:
CC: clang
CXX: clang++
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install dependencies
Expand Down Expand Up @@ -90,15 +91,16 @@ jobs:
&& cd ../..
- name: make test
run: make test
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: dylib
path: ./inst/lib/liblo.7.dylib

Windows-Latest:
runs-on: windows-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Run windows build script
Expand All @@ -112,3 +114,13 @@ jobs:
run: |
cd bld\
ctest -V
merge:
runs-on: ubuntu-latest
needs: [Linux, MacOS]
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: artifact
delete-merged: true

0 comments on commit e5f6d07

Please sign in to comment.