forked from DarkPlacesEngine/DarkPlaces
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try older python
- Loading branch information
Showing
1 changed file
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,39 +9,39 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
sdl-release: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: debian:latest | ||
steps: | ||
# Must install git before checking out the repo otherwise github doesn't fetch the .git directory. | ||
- name: Install dependencies | ||
run: | | ||
apt update | ||
apt install --yes build-essential git libjpeg-dev libsdl2-dev libcurl4-openssl-dev libpng-dev libfreetype-dev libvorbis-dev | ||
- name: Fetch repository | ||
uses: actions/[email protected] | ||
with: | ||
# make `git describe` show the correct commit hash | ||
fetch-depth: '0' | ||
|
||
- name: Compile | ||
run: | | ||
# prevent git complaining about dubious ownership of the repo | ||
chown -R root:root . | ||
# fail if `git describe` doesn't work (required for the buildstring) | ||
git describe --always | ||
# fail if there's any warnings | ||
export CC="cc -Werror" | ||
make sdl-release | ||
- name: Upload Linux artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Linux | ||
path: | | ||
darkplaces-sdl | ||
# sdl-release: | ||
# runs-on: ubuntu-latest | ||
# container: | ||
# image: debian:latest | ||
# steps: | ||
# # Must install git before checking out the repo otherwise github doesn't fetch the .git directory. | ||
# - name: Install dependencies | ||
# run: | | ||
# apt update | ||
# apt install --yes build-essential git libjpeg-dev libsdl2-dev libcurl4-openssl-dev libpng-dev libfreetype-dev libvorbis-dev | ||
|
||
# - name: Fetch repository | ||
# uses: actions/[email protected] | ||
# with: | ||
# # make `git describe` show the correct commit hash | ||
# fetch-depth: '0' | ||
|
||
# - name: Compile | ||
# run: | | ||
# # prevent git complaining about dubious ownership of the repo | ||
# chown -R root:root . | ||
# # fail if `git describe` doesn't work (required for the buildstring) | ||
# git describe --always | ||
# # fail if there's any warnings | ||
# export CC="cc -Werror" | ||
# make sdl-release | ||
|
||
# - name: Upload Linux artifacts | ||
# uses: actions/upload-artifact@v4 | ||
# with: | ||
# name: Linux | ||
# path: | | ||
# darkplaces-sdl | ||
|
||
wasm-release: | ||
runs-on: ubuntu-latest | ||
|
@@ -61,7 +61,7 @@ jobs: | |
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3' | ||
python-version: '3.11' | ||
|
||
- name: Install emsdk | ||
uses: actions/[email protected] | ||
|