Skip to content

Update ci.yml

Update ci.yml #70

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
# target:
# - x86_64-linux
# - x86_64-macos
# - x86_64-windows-gnu
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- uses: goto-bus-stop/setup-zig@v2
with:
# version: master
version: 0.12.0-dev.3161+377ecc6af
cache: false
-
name: Build with Nuikta and Zig
run: |
chmod ugo+x *.sh
# export TARGET=${{ matrix.target }}
export CXX="$(pwd)/zig-clang++.sh"
export CC="$(pwd)/zig-clang-cc.sh"
pip install -r requirements.txt
python -m nuitka \
--show-scons \
--clang \
--onefile \
hello.py
./hello.bin
- uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
path: |
nuitka-crash-report.xml
hello.dist/**/*
hello.bin