Update.
Some checks failed
CI / build-linux (debug_64bit) (push) Failing after 54s
CI / build-linux (release_64bit) (push) Failing after 1m7s

This commit is contained in:
retoor 2026-01-26 12:34:23 +01:00
parent 5edaf69915
commit 6ccde4fab9
2 changed files with 42 additions and 55 deletions

42
.gitea/workflows/ci.yml Normal file
View File

@ -0,0 +1,42 @@
# retoor <retoor@molodetz.nl>
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
config: [release_64bit, debug_64bit]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libssl-dev python3
- name: Build
run: |
cd projects/make && make -f wren_cli.make config=${{ matrix.config }} -j$(nproc)
- name: Run tests
run: |
if [ "${{ matrix.config }}" = "debug_64bit" ]; then
python3 util/test.py --suffix=_d
else
python3 util/test.py
fi
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: wren-cli-linux-${{ matrix.config }}
path: bin/wren_cli*

View File

@ -1,55 +0,0 @@
name: WrenCI
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: build
run: ./.travis.sh
shell: bash
working-directory: ./
- uses: actions/upload-artifact@v2
with:
name: wren-cli-linux-bin
path: bin/wren_cli
mac:
runs-on: macos-latest
env:
WREN_TARGET_MAC: 1
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: build
run: ./.travis.sh
shell: bash
working-directory: ./
- uses: actions/upload-artifact@v2
with:
name: wren-cli-mac-bin
path: bin/wren_cli
windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- name: msbuild
uses: microsoft/setup-msbuild@v1.1
- name: build
working-directory: ./projects/vs2019/
run: msbuild ./wren-cli.sln /property:Configuration=Release /property:Platform=64bit
- uses: actions/upload-artifact@v2
with:
name: wren-cli-windows-bin
path: bin/wren_cli.exe