This repository has been archived on 2026-02-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
swift-duct-calc/.github/workflows/ci.yaml
Michael Housh 3f0a669b2b
All checks were successful
CI / Linux Tests (push) Successful in 6m3s
fix: Fix release workflow in gitea to not build multi platform images.
2026-02-11 09:46:02 -05:00

32 lines
688 B
YAML

name: CI
on:
push:
branches:
- main
- dev
pull_request:
workflow_dispatch:
jobs:
ubuntu:
name: Linux Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup buildx
uses: docker/setup-buildx-action@v3
- name: Build test image
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile.test
push: false
load: true
tags: ${{ github.repository_owner }}/ductcalc:test
- name: Run Tests
run: |
docker run --rm ${{ github.repository_owner }}/ductcalc:test swift test