experiments

This commit is contained in:
Jaremy Creechley 2023-07-12 18:21:50 -07:00
parent 4c13879bea
commit f61f5248d4
No known key found for this signature in database
GPG Key ID: 4E66FB67B21D3300
2 changed files with 21 additions and 41 deletions

View File

@ -29,14 +29,14 @@ jobs:
os: linux
builder: ubuntu-20.04
shell: bash
- target:
os: macos
builder: macos-12
shell: bash
- target:
os: windows
builder: windows-2019
shell: msys2 {0}
# - target:
# os: macos
# builder: macos-12
# shell: bash
# - target:
# os: windows
# builder: windows-2019
# shell: msys2 {0}
defaults:
run:
@ -51,39 +51,6 @@ jobs:
with:
submodules: true
- name: MSYS2 (Windows amd64)
if: runner.os == 'Windows' && matrix.target.cpu == 'amd64'
uses: msys2/setup-msys2@v2
with:
path-type: inherit
install: >-
base-devel
git
mingw-w64-x86_64-toolchain
- name: Restore Nim DLLs dependencies (Windows) from cache
if: runner.os == 'Windows'
id: windows-dlls-cache
uses: actions/cache@v2
with:
path: external/dlls
key: 'dlls'
- name: Install DLL dependencies (Windows)
if: >
steps.windows-dlls-cache.outputs.cache-hit != 'true' &&
runner.os == 'Windows'
run: |
mkdir external
curl -L "https://nim-lang.org/download/windeps.zip" -o external/windeps.zip
7z x external/windeps.zip -oexternal/dlls
- name: Path to cached dependencies (Windows)
if: >
runner.os == 'Windows'
run: |
echo '${{ github.workspace }}'"/external/dlls" >> $GITHUB_PATH
- name: Derive environment variables
run: |
if [[ '${{ matrix.target.cpu }}' == 'amd64' ]]; then

View File

@ -163,6 +163,19 @@ jobs:
${{ github.workspace }} / .nimble
key: ${{ matrix.target.os }}-${{ matrix.target.cpu }}-dotnimble-${{ hashFiles('nimble.lock') }}
- name: Check ENV
run: |
echo ENV:
env
which nim
which nimble
nim -v
nimble -v
find ./.nimble/
find ~/.nimble/
- name: Setup Deps
run: |
nimble install -d