Skip to content

Commit

Permalink
Merge pull request #15 from miukmiuk/add-workflow
Browse files Browse the repository at this point in the history
Add github workflows
  • Loading branch information
miguilimzero authored Nov 18, 2023
2 parents 0fafaac + b8a4951 commit c0b27a6
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Compiling tests

on:
push:
branches:
- main

jobs:
install-dependencies:
name: Install Dependencies
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Teeworlds dependencies
run: |
cd resources/
bash default-dependencies.sh
build-06version:
needs: install-dependencies
name: Build 0.6.x mods
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Build 0.6.x Mods
run: |
for mod_dir in 0.6.x/*; do
if [ -d "$mod_dir" ]; then
cd "$mod_dir"
bash compile.sh
cd -
fi
done
build-07version:
needs: install-dependencies
name: Build 0.7.x mods
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Build 0.7.x Mods
run: |
for mod_dir in 0.7.x/*; do
if [ -d "$mod_dir" ]; then
cd "$mod_dir"
bash compile.sh
cd -
fi
done

0 comments on commit c0b27a6

Please sign in to comment.