Use pre-built binary for tests #90
Workflow file for this run
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
name: CI | ||
Check failure on line 1 in .github/workflows/blank.yml GitHub Actions / CIInvalid workflow file
|
||
on: [push, pull_request] | ||
jobs: | ||
linux: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
version: [binary:stable] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: iffy/install-nim@v5 | ||
with: | ||
version: ${{ matrix.version }} | ||
- name: Install deps | ||
run: | | ||
nimble refresh | ||
nimble install -y | ||
- name: Install some Linux Deps | ||
run: | | ||
sudo apt-get update -q | ||
sudo apt-get install -y dbus libdbus-1-dev | ||
- name: Test a system that is not supported | ||
run: nimble test -d:testkeyringnotsupported | ||
- name: Install all Linux Deps | ||
run: | | ||
sudo apt-get update -q | ||
sudo apt-get install -y dbus libdbus-1-dev gnome-keyring | ||
- name: Test | ||
run: dbus-run-session -- bash -c 'echo "" | gnome-keyring-daemon --unlock && nimble test' | ||
other: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
version: [binary:stable] | ||
os: [macOS-latest, windows-latest] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: iffy/install-nim@v5 | ||
with: | ||
version: ${{ matrix.version }} | ||
- name: Install deps | ||
run: | | ||
nimble refresh | ||
nimble install -y | ||
- name: Test | ||
run: nimble test | ||