Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI script #160

Merged
merged 2 commits into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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