Skip to content

Commit

Permalink
Update build system (backported from 72a3f13)
Browse files Browse the repository at this point in the history
  • Loading branch information
cahirwpz committed Dec 16, 2023
1 parent 49ffd4f commit 1435966
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ jobs:
name: Python Style
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3
with:
lfs: true
- uses: actions/setup-python@v3
- name: Setup Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -31,11 +33,18 @@ jobs:
runs-on: ubuntu-latest
container: cahirwpz/demoscene:latest
steps:
- uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3
with:
lfs: true
- run: make
- uses: actions/upload-artifact@v3
- name: Setup GoLang
uses: actions/setup-go@v4
with:
go-version: '>=1.19.0'
- name: Build everything
run: make
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: effects
path: effects/*/*.adf
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM debian:bullseye-backports

WORKDIR /root

ADD https://github.com/cahirwpz/demoscene-toolchain/releases/download/2022-04-18/demoscene-toolchain.tar.gz \
ADD https://github.com/cahirwpz/demoscene-toolchain/releases/download/2023-04-15/demoscene-toolchain.tar.gz \
demoscene-toolchain.tar.gz
RUN apt-get -q update && apt-get upgrade -y
RUN apt-get install -y --no-install-recommends -t bullseye-backports \
Expand Down
2 changes: 1 addition & 1 deletion build/go.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
all:
go build
go build -buildvcs=false

windows:
GOOS=windows GOARCH=amd64 go build
Expand Down

0 comments on commit 1435966

Please sign in to comment.