mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-07-16 14:25:01 +00:00
66 lines
1.5 KiB
YAML
66 lines
1.5 KiB
YAML
name: Build
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build-linux-i386:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build linux-i386
|
|
run: |
|
|
scripts/build-ubuntu-i386.sh
|
|
- name: 'Upload Artifact'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: linux-i386
|
|
path: bin
|
|
|
|
build-linux-amd64:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build linux-amd64
|
|
run: |
|
|
scripts/build-ubuntu-amd64.sh
|
|
- name: 'Upload Artifact'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: linux-amd64
|
|
path: bin
|
|
|
|
build-windows-i386:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build windows-i386
|
|
run: |
|
|
git submodule init && git submodule update
|
|
./waf.bat configure -T release --build-games=EntropyZero --prefix=bin --32bits
|
|
./waf.bat install
|
|
|
|
- name: 'Upload Artifact'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: windows-i386
|
|
path: bin
|
|
|
|
build-windows-amd64:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build windows-amd64
|
|
run: |
|
|
git submodule init && git submodule update
|
|
./waf.bat configure -T release --build-games=EntropyZero --prefix=bin
|
|
./waf.bat install
|
|
|
|
- name: 'Upload Artifact'
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: windows-amd64
|
|
path: bin |