Skip to content

Commit

Permalink
Merge pull request #37 from SearchAndRescue2/setup-ci
Browse files Browse the repository at this point in the history
Add Github action that builds the project
  • Loading branch information
hsanjuan committed Aug 10, 2023
2 parents 74deace + 56d9466 commit 82c7fc6
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
GO: 1.20.7

jobs:
build:
name: "scons"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2

- name: Install dependencies
run: |
sudo apt-get install \
scons \
mesa-common-dev \
libalut-dev \
libopenal-dev \
libvorbis-dev \
libsdl2-dev \
libice-dev \
libsm-dev \
libx11-dev \
libxext-dev \
libxmu-dev \
libxpm-dev
- name: "Run scons"
run: scons

0 comments on commit 82c7fc6

Please sign in to comment.