github.com/emmansun/gmsm@v0.29.1/.github/workflows/test_s390x.yaml (about) 1 # This workflow will build a golang project 2 # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go 3 4 name: s390x-qemu 5 6 on: 7 push: 8 branches: [ "main" ] 9 pull_request: 10 branches: [ "main" ] 11 12 jobs: 13 14 test: 15 strategy: 16 matrix: 17 go-version: [1.19.x] 18 arch: [s390x] 19 runs-on: ubuntu-latest 20 steps: 21 - name: Set up Go 22 uses: actions/setup-go@v5 23 with: 24 go-version: ${{ matrix.go-version }} 25 26 - name: Set up QEMU 27 uses: docker/setup-qemu-action@v3 28 29 - name: Check out code 30 uses: actions/checkout@v4 31 32 - name: Test internal 33 run: go test -v ./internal/... 34 env: 35 GOARCH: ${{ matrix.arch }} 36 37 - name: Test sm3 38 run: go test -v ./sm3/... 39 env: 40 GOARCH: ${{ matrix.arch }} 41 42 - name: Test Cipher 43 run: go test -v -short ./cipher/... 44 env: 45 GOARCH: ${{ matrix.arch }} 46 47 # - name: Test 48 # run: go test -v -short ./... 49 # env: 50 # GODEBUG: x509sha1=1 51 # GOARCH: ${{ matrix.arch }} 52 53 54