mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-10-13 10:11:22 -04:00
Added some more documentation
- Details on structure and d20 system - Updated Github Actions for Ubuntu - Fixed typo in README
This commit is contained in:
parent
6f6cb68d31
commit
4d39e7636a
5 changed files with 60 additions and 24 deletions
46
.github/workflows/build.yml
vendored
46
.github/workflows/build.yml
vendored
|
@ -1,10 +1,10 @@
|
|||
name: Build
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main, dev]
|
||||
pull_request:
|
||||
branches: [main, dev]
|
||||
push:
|
||||
branches: [main, dev]
|
||||
pull_request:
|
||||
branches: [main, dev]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -21,19 +21,29 @@ jobs:
|
|||
run: zig build
|
||||
- name: Test
|
||||
run: zig build test
|
||||
# ubuntu-build:
|
||||
# timeout-minutes: 15
|
||||
# continue-on-error: true
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - uses: goto-bus-stop/setup-zig@v2
|
||||
# - name: Install OpenGL
|
||||
# run: apt-get libglu1-mesa-dev freeglut3-dev mesa-common-dev
|
||||
# - name: Build
|
||||
# run: zig build
|
||||
# - name: Test
|
||||
# run: zig build test
|
||||
ubuntu-build:
|
||||
timeout-minutes: 15
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
- name: setup dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install \
|
||||
libasound2-dev \
|
||||
libx11-dev \
|
||||
libxrandr-dev \
|
||||
libxi-dev \
|
||||
libgl1-mesa-dev \
|
||||
libglu1-mesa-dev \
|
||||
libxcursor-dev \
|
||||
libxinerama-dev
|
||||
- name: Build
|
||||
run: zig build
|
||||
- name: Test
|
||||
run: zig build test
|
||||
lint:
|
||||
needs: build
|
||||
timeout-minutes: 15
|
||||
|
@ -42,4 +52,4 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: goto-bus-stop/setup-zig@v2
|
||||
- run: zig fmt --check .
|
||||
- run: zig fmt --check .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue