Created
November 8, 2022 17:54
-
-
Save jpadams/ae659037469940fc5323ae8e79b59dbe to your computer and use it in GitHub Desktop.
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
# AWS CodeBuild | |
version: 0.2 | |
phases: | |
build: | |
commands: | |
- docker run --rm --privileged public.ecr.aws/eks-distro-build-tooling/binfmt-misc:qemu-v6.1.0 --install all | |
- go run ci/main.go test | |
- tail -n +1 output/*/*/*.out | |
# GitHub Actions | |
name: test | |
on: | |
push: | |
branches: [main] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up QEMU | |
run: | | |
docker run --rm --privileged tonistiigi/binfmt:latest --install all | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
- uses: actions/checkout@v3 | |
- run: go run ci/main.go test | |
- run: tail -n +1 output/*/*/*.out | |
# CircleCI | |
version: 2.1 | |
jobs: | |
test: | |
docker: | |
- image: cimg/go:1.19 | |
steps: | |
- checkout | |
- setup_remote_docker: | |
docker_layer_caching: true | |
- run: | |
name: Setup QEMU | |
command: docker run --rm --privileged tonistiigi/binfmt:latest --install all | |
- run: | |
name: Dagger Test Pipeline | |
command: go run ci/main.go test | |
- run: | |
name: Test results | |
command: tail -n +1 output/*/*/*.out | |
workflows: | |
test: | |
jobs: | |
- test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment