zig-objc/.github/workflows/test.yml

19 lines
487 B
YAML
Raw Normal View History

2023-01-02 15:04:59 -08:00
on: [push, pull_request]
name: Test
jobs:
build:
2025-01-18 17:05:45 +01:00
runs-on: docker
2023-01-02 15:04:59 -08:00
steps:
2023-10-20 15:54:57 -07:00
- name: Checkout code
uses: actions/checkout@v4
2025-01-19 16:41:13 +01:00
- run: |
apt update; apt install --yes sudo
2025-01-19 19:05:58 +01:00
- uses: https://github.com/mlugg/setup-zig@v1
2023-10-20 15:54:57 -07:00
with:
2025-01-19 19:05:58 +01:00
version: master
2023-01-02 15:04:59 -08:00
2023-10-20 15:54:57 -07:00
# Cross-compile the binary. We always use static building for this
# because its the only way to access the headers.
- name: Test
2025-01-19 19:05:58 +01:00
run: zig build test --summary all