feat: toNumeric and checkNumeric #370
Workflow file for this run
This file contains hidden or 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: tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
#------ zig-dev builds ------ | |
test_zig_nightly: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Clone Ziglua | |
uses: actions/checkout@v3 | |
- name: Setup Zig | |
uses: mlugg/setup-zig@v2 | |
with: | |
version: master | |
- name: Run tests | |
run: make test_zig_nightly | |
#------ zig-0.14 ------ | |
test_zig_014: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Clone Ziglua | |
uses: actions/checkout@v3 | |
- name: Setup Zig | |
uses: mlugg/setup-zig@v2 | |
with: | |
version: "0.14.1" | |
- name: Run tests | |
run: make test_zig_014 | |
#------ cross compilation ------ | |
test_cross: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest, ubuntu-24.04-arm] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: Clone Ziglua | |
uses: actions/checkout@v3 | |
- name: Setup Zig | |
uses: mlugg/setup-zig@v2 | |
with: | |
version: master | |
- name: Run tests | |
run: make test_cross |