Skip to content

Commit

Permalink
feat: download pre-built SIPNET binaries for macOS and Linux
Browse files Browse the repository at this point in the history
- Added steps to download SIPNET binaries directly from Google Drive.
- Removed the compilation step to streamline the workflow.
  • Loading branch information
AritraDey-Dev committed Feb 11, 2025
1 parent c8c8454 commit b4228a3
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 120 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,12 @@ jobs:
R:
- "4.2"
- "4.1"
uses: ./.github/workflows/sipnet.yml
with:
R-version: ${{ matrix.R }}
secrets: inherit
runs-on: ubuntu-latest
steps:
- name: Build SIPNET
run: make sipnet
- name: Upload SIPNET binary
uses: actions/upload-artifact@v2
with:
name: sipnet-binary
path: path/to/sipnet/binary
17 changes: 8 additions & 9 deletions .github/workflows/sipnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,15 @@ jobs:
run: ./scripts/add.models.sh

# install sipnet
- name: Check out SIPNET
uses: actions/checkout@v4
with:
repository: PecanProject/sipnet
path: sipnet
set-safe-directory: false
- name: install sipnet
- name: Download SIPNET for macOS
run: |
curl -L -o sipnet-macos "https://drive.google.com/uc?export=download&id=1psNvSw77VcD5QdbSWeGNVQsbCmJokG2W"
chmod +x sipnet-macos
- name: Download SIPNET for Linux
run: |
cd ${GITHUB_WORKSPACE}/sipnet
make sipnet
curl -L -o sipnet-linux "https://drive.google.com/uc?export=download&id=1sRTFfs9Z9osmMrtLlwVTqxeUDxgVlrEv"
chmod +x sipnet-linux
# compile PEcAn code
- name: build
Expand Down
44 changes: 0 additions & 44 deletions ci.yml

This file was deleted.

63 changes: 0 additions & 63 deletions sipnet.yml

This file was deleted.

0 comments on commit b4228a3

Please sign in to comment.