diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml new file mode 100644 index 0000000..f83626d --- /dev/null +++ b/.github/workflows/swift.yml @@ -0,0 +1,22 @@ +name: build + +on: + push: + pull_request: + workflow_dispatch: + +jobs: + linux: + runs-on: ubuntu-24.04 + container: swift:6.0 + steps: + - name: Packages + run: | + apt-get update + apt-get install -y liburing-dev libgpiod-dev + - name: Checkout + uses: actions/checkout@v4 + - name: Version + run: swift --version + - name: Build + run: swift build