Skip to content

Merge pull request #29 from DigiEmu/docs/deterministic-verification-g… #68

Merge pull request #29 from DigiEmu/docs/deterministic-verification-g…

Merge pull request #29 from DigiEmu/docs/deterministic-verification-g… #68

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
jobs:
test:
name: Go Tests (Repro Gate)
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Go test
run: |
go test ./...
gate_all_ubuntu:
name: Gate All (ubuntu-latest)
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Build digiemu (CI)
shell: bash
run: |
mkdir -p _release
version="ci-${GITHUB_SHA}"
commit="${GITHUB_SHA}"
date="${GITHUB_RUN_ID}"
CGO_ENABLED=0 go build -trimpath -ldflags "-s -w -X main.Version=${version} -X main.Commit=${commit} -X main.Date=${date}" -o _release/digiemu-ci-ubuntu-amd64 ./cmd/digiemu
- name: Run all gates (verify + bundles + lock)
shell: bash
run: |
./scripts/gate_all.sh _release/digiemu-ci-ubuntu-amd64