fix lazypath #64
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Zig Cross | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
targets: | |
- aarch64-linux-gnu | |
- aarch64-linux-musl | |
- riscv64-linux-musl | |
# LLVM ERROR: Cannot select: 0x7448a42b2fd0: i64 = fp_to_fp16 0x7448a438a570 | |
# - loongarch64-linux-musl | |
- powerpc64-linux-musl | |
- powerpc64le-linux-musl | |
# - x86-linux-musl | |
# - aarch64-windows | |
# - aarch64-macos | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- uses: korandoru/setup-zig@v1 | |
with: | |
zig-version: 0.13.0 | |
- uses: dlang-community/setup-dlang@v2 | |
with: | |
compiler: ldc-master | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
override: true | |
- name: (Swift 6) Download & Extract package | |
run: | | |
curl -LO https://download.swift.org/development/ubuntu2204/swift-DEVELOPMENT-SNAPSHOT-2024-08-21-a/swift-DEVELOPMENT-SNAPSHOT-2024-08-21-a-ubuntu22.04.tar.gz | |
tar xzf swift-DEVELOPMENT-SNAPSHOT-2024-08-21-a-ubuntu22.04.tar.gz | |
echo "$PWD/swift-DEVELOPMENT-SNAPSHOT-2024-08-21-a-ubuntu22.04/usr/bin" >> $GITHUB_PATH | |
- name: get-flang-linux | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends flang | |
- name: Build Summary ${{ matrix.targets }} | |
run: zig build --build-file $PWD/tests/build.zig --summary all -freference-trace -Dtarget=${{ matrix.targets }} |