-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* work around nimble bug temp workaround while nimble is being fixed * macos-version
- Loading branch information
1 parent
cf3369e
commit 8edcaae
Showing
1 changed file
with
21 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
builder: ubuntu-20.04 | ||
- target: | ||
os: macosx | ||
builder: macos-11 | ||
builder: macos-12 | ||
- target: | ||
os: windows | ||
builder: windows-2019 | ||
|
@@ -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 | ||
|