workflows #45
This file contains hidden or 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: Linux OS(Ubuntu) Nim 2.2.4 compilation | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- 'main' | |
jobs: | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jiro4989/setup-nim-action@v2 | |
with: | |
nim-version: '2.2.4' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: | | |
sudo apt-get update | |
sudo apt-get install --fix-missing libopengl-dev libgl1-mesa-dev libglfw3 libglfw3-dev libsdl2-dev | |
- run: nimble all |