Skip to content

Commit

Permalink
work around nimble bug (#77)
Browse files Browse the repository at this point in the history
* work around nimble bug

temp workaround while nimble is being fixed

* macos-version
  • Loading branch information
arnetheduck authored Jul 19, 2024
1 parent cf3369e commit 8edcaae
Showing 1 changed file with 21 additions and 15 deletions.
36 changes: 21 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
builder: ubuntu-20.04
- target:
os: macosx
builder: macos-11
builder: macos-12
- target:
os: windows
builder: windows-2019
Expand All @@ -44,26 +44,32 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Fetch nimble
uses: robinraju/[email protected]
- uses: jiro4989/setup-nim-action@v2
with:
repository: "nim-lang/nimble"
tag: "latest"
fileName: "nimble-${{matrix.target.name}}.tar.gz"
extract: false
- name: Setup env
run: |
# extract: true doesn't work on osx :/
tar xvf nimble-${{matrix.target.name}}.tar.gz
# needed for nimble on windows
curl -L "https://curl.se/ca/cacert.pem" -o cacert.pem
echo "$PWD" >> $GITHUB_PATH
nim-version: '2.0.2' # default is 'stable'
repo-token: ${{ secrets.GITHUB_TOKEN }}

# - name: Fetch nimble
# uses: robinraju/[email protected]
# with:
# repository: "nim-lang/nimble"
# tag: "latest"
# fileName: "nimble-${{matrix.target.name}}.tar.gz"
# extract: false
# - name: Setup env
# run: |
# # extract: true doesn't work on osx :/
# tar xvf nimble-${{matrix.target.name}}.tar.gz
# # needed for nimble on windows
# curl -L "https://curl.se/ca/cacert.pem" -o cacert.pem
# echo "$PWD" >> $GITHUB_PATH

- name: Build nph
run: |
ls -l
nimble setup -l
# nimble setup -l
nimble install -y
nimble build
- name: Check formatting
Expand Down

0 comments on commit 8edcaae

Please sign in to comment.