Skip to content

Commit

Permalink
fix: just build linux
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Oct 31, 2024
1 parent 1904361 commit e4f0b6c
Showing 1 changed file with 49 additions and 49 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,50 +77,50 @@ jobs:
name: client
path: client/dist/*

build-assets:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true

- name: Install Emscripten
run: |
sudo apt-get install -y \
build-essential \
cmake \
imagemagick \
inotify-tools \
ucommon-utils \
unrar \
zlib1g-dev
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install 3.1.8
./emsdk activate 3.1.8
- name: Build sourdump
run: |
cd assets
mkdir dist
./setup
- name: Build desktop assets
run: |
source emsdk/emsdk_env.sh
cd assets
python3 base.py \
--root https://static.sourga.me/blobs/6481/.index.source \
--download \
--outdir dist \
complex dust2 turbine
- name: Upload
uses: actions/upload-artifact@v3
with:
name: assets
path: assets/dist/*
include-hidden-files: true
#build-assets:
#runs-on: ubuntu-latest
#steps:
#- uses: actions/checkout@v4
#with:
#lfs: true

#- name: Install Emscripten
#run: |
#sudo apt-get install -y \
#build-essential \
#cmake \
#imagemagick \
#inotify-tools \
#ucommon-utils \
#unrar \
#zlib1g-dev
#git clone https://github.com/emscripten-core/emsdk.git
#cd emsdk
#./emsdk install 3.1.8
#./emsdk activate 3.1.8

#- name: Build sourdump
#run: |
#cd assets
#mkdir dist
#./setup

#- name: Build desktop assets
#run: |
#source emsdk/emsdk_env.sh
#cd assets
#python3 base.py \
#--root https://static.sourga.me/blobs/6481/.index.source \
#--download \
#--outdir dist \
#complex dust2 turbine

#- name: Upload
#uses: actions/upload-artifact@v3
#with:
#name: assets
#path: assets/dist/*
#include-hidden-files: true

build-linux-binary:
needs: [build-assets, build-client, build-game]
Expand All @@ -139,11 +139,11 @@ jobs:
name: game
path: ./cmd/server/static/site/game

- name: Download assets
uses: actions/download-artifact@v3
with:
name: assets
path: ./assets/dist
#- name: Download assets
#uses: actions/download-artifact@v3
#with:
#name: assets
#path: ./assets/dist

- uses: actions/setup-go@v4
with:
Expand Down

0 comments on commit e4f0b6c

Please sign in to comment.