Actual v2 (the previous commit saying v2 was v1) #11
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 | |
on: | |
push: | |
pull_request: | |
branches: [ main, devel ] | |
jobs: | |
appimage: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: iffy/install-nim@v4.1.1 | |
- name: Install x11 dev libraries | |
run: sudo apt install libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl-dev | |
- name: Build | |
run: | | |
nimble buildapp | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: appimage-amd64 | |
path: ./*-*-*.AppImage | |
if-no-files-found: error | |
windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: iffy/install-nim@v4.1.1 | |
- name: Build | |
run: nimble buildr | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: win-amd64 | |
path: ./*-*-*.exe | |
if-no-files-found: error |