debug(ci): add nim version check step before minimal test
This commit is contained in:
@@ -11,9 +11,9 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Nim
|
||||
uses: iffy/install-nim@v4
|
||||
uses: jiro4989/setup-nim-action@v1
|
||||
with:
|
||||
version: 'binary:2.2.10'
|
||||
nim-version: '2.2.10'
|
||||
|
||||
- name: Install system dependencies
|
||||
run: sudo apt-get update -qq && sudo apt-get install -y -qq libssl-dev libpcre3-dev openssl ca-certificates
|
||||
@@ -21,6 +21,12 @@ jobs:
|
||||
- name: Install Nim dependencies
|
||||
run: nimble install --depsOnly -y
|
||||
|
||||
- name: Check nim binary
|
||||
run: |
|
||||
which nim
|
||||
nim --version
|
||||
echo "NIM_OK=1"
|
||||
|
||||
- name: Compile and run minimal test
|
||||
run: nim c --threads:on --path:src -r tests/test_minimal.nim
|
||||
|
||||
|
||||
Reference in New Issue
Block a user