-
Notifications
You must be signed in to change notification settings - Fork 11
53 lines (41 loc) · 1.29 KB
/
go-current.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: Go But With Current Dependencies
on:
schedule:
- cron: '51 11 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install Dependencies
run: 'sudo apt-get update && sudo apt-get -y install graphviz libasound2-dev libgl-dev libgles-dev libxcursor-dev libxi-dev libxinerama-dev libxrandr-dev libxxf86vm-dev xvfb'
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.22'
check-latest: true
- name: Remove Module Replacements
run: 'sed -i -e "s,^replace ,//replace ," go.mod'
- name: Update
run: 'make mod-update'
- name: Build
run: 'make'
env:
AAAAXY_BUILD_USE_VERSION_FILE: true
AAAAXY_DIFF_ASSETS: true
AAAAXY_GENERATE_ASSETS: true
- name: Vet
run: 'make vet'
- name: Test
run: 'xvfb-run sh scripts/regression-test-demo.sh linux-amd64 "on track for Any%, All Paths, No Teleports and No Coil" ./aaaaxy assets/demos/benchmark.dem'
- name: Archive Results
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: regression-test-results-benchmark-linux-amd64
path: |
*.dem.*.log
*.dem.*.png