source-engine/.github/workflows/build.yml

113 lines
2.3 KiB
YAML
Raw Normal View History

2022-08-17 16:12:27 +08:00
name: Build
2022-07-26 05:15:02 +08:00
2022-12-17 00:47:53 +08:00
on: [push, pull_request]
2022-07-26 05:15:02 +08:00
2024-10-28 13:17:45 +08:00
2022-07-26 05:15:02 +08:00
jobs:
2022-08-01 05:44:54 +08:00
build-linux-i386:
2023-04-08 18:40:33 +08:00
runs-on: ubuntu-latest
2022-07-26 05:15:02 +08:00
steps:
- uses: actions/checkout@v2
- name: Build linux-i386
run: |
scripts/build-ubuntu-i386.sh
2022-08-01 05:44:54 +08:00
build-linux-amd64:
2023-04-06 06:27:17 +08:00
runs-on: ubuntu-20.04
2022-07-26 05:15:02 +08:00
steps:
- uses: actions/checkout@v2
- name: Build linux-amd64
run: |
scripts/build-ubuntu-amd64.sh
build-android-armv7a:
2023-04-06 06:27:17 +08:00
runs-on: ubuntu-20.04
2022-07-26 05:15:02 +08:00
steps:
- uses: actions/checkout@v2
- name: Build android-armv7a
run: |
scripts/build-android-armv7a.sh
build-windows-i386:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Build windows-i386
run: |
git submodule init && git submodule update
2023-11-09 02:58:33 +08:00
./waf.bat configure -T debug --32bits
./waf.bat build
2022-08-01 05:38:10 +08:00
build-windows-amd64:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Build windows-amd64
run: |
git submodule init && git submodule update
2023-11-09 02:58:33 +08:00
./waf.bat configure -T debug
./waf.bat build
2022-08-01 05:38:10 +08:00
build-dedicated-windows-i386:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Build dedicated windows-i386
run: |
git submodule init && git submodule update
./waf.bat configure -T debug -d
./waf.bat build
build-dedicated-windows-amd64:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- name: Build dedicated windows-amd64
run: |
git submodule init && git submodule update
2023-11-09 03:04:28 +08:00
./waf.bat configure -T debug -d
./waf.bat build
2022-08-01 05:44:54 +08:00
build-dedicated-linux-i386:
2023-04-06 06:27:17 +08:00
runs-on: ubuntu-20.04
2022-08-01 05:38:10 +08:00
steps:
- uses: actions/checkout@v2
- name: Build dedicated linux-i386
run: |
scripts/build-ubuntu-i386.sh -d
2022-08-01 05:44:54 +08:00
build-dedicated-linux-amd64:
2023-04-06 06:27:17 +08:00
runs-on: ubuntu-20.04
2022-08-01 05:38:10 +08:00
steps:
- uses: actions/checkout@v2
- name: Build dedicated linux-amd64
run: |
scripts/build-ubuntu-amd64.sh -d
build-macos-amd64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build macos-amd64
run: |
scripts/build-macos-amd64.sh
build-dedicated-macos-amd64:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Build dedicated macos-amd64
run: |
scripts/build-macos-amd64.sh -d