diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build-macos.yml | 4 | ||||
-rw-r--r-- | .github/workflows/linux.yml | 4 | ||||
-rw-r--r-- | .github/workflows/nix.yml | 2 | ||||
-rw-r--r-- | .github/workflows/sizediff.yml | 2 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 54 |
5 files changed, 49 insertions, 17 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 4f26e1fb8..98cde07a2 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -26,6 +26,8 @@ jobs: goarch: arm64 runs-on: ${{ matrix.os }} steps: + - name: exit early + run: command-does-not-exist - name: Install Dependencies run: | HOMEBREW_NO_AUTO_UPDATE=1 brew install qemu binaryen @@ -128,6 +130,8 @@ jobs: matrix: version: [16, 17, 18] steps: + - name: exit early + run: command-does-not-exist - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@master - name: Fix Python symlinks diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 206e6b767..93b48f4df 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -22,6 +22,8 @@ jobs: outputs: version: ${{ steps.version.outputs.version }} steps: + - name: exit early + run: command-does-not-exist - name: Install apk dependencies # tar: needed for actions/cache@v4 # git+openssh: needed for checkout (I think?) @@ -171,6 +173,8 @@ jobs: # potential bugs. runs-on: ubuntu-latest steps: + - name: exit early + run: command-does-not-exist - name: Checkout uses: actions/checkout@v4 with: diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml index 7ad4911d6..70e03d9f3 100644 --- a/.github/workflows/nix.yml +++ b/.github/workflows/nix.yml @@ -15,6 +15,8 @@ jobs: nix-test: runs-on: ubuntu-latest steps: + - name: exit early + run: command-does-not-exist - name: Uninstall system LLVM # Hack to work around issue where we still include system headers for # some reason. diff --git a/.github/workflows/sizediff.yml b/.github/workflows/sizediff.yml index b9c40b1ea..ab13085b8 100644 --- a/.github/workflows/sizediff.yml +++ b/.github/workflows/sizediff.yml @@ -15,6 +15,8 @@ jobs: permissions: pull-requests: write steps: + - name: exit early + run: command-does-not-exist # Prepare, install tools - name: Add GOBIN to $PATH run: | diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0994d47a7..1ab17f9a7 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -23,26 +23,30 @@ jobs: minimum-size: 8GB maximum-size: 24GB disk-root: "C:" - - uses: brechtm/setup-scoop@v2 - with: - scoop_update: 'false' - - name: Install Dependencies - shell: bash - run: | - scoop install ninja binaryen + #- uses: brechtm/setup-scoop@v2 + # with: + # scoop_update: 'false' + #- name: Install Dependencies + # shell: bash + # run: | + # scoop install ninja binaryen - name: Checkout uses: actions/checkout@v4 - with: - submodules: true + - name: submodules + shell: bash + run: git submodule update --init lib/mingw-w64 - name: Extract TinyGo version id: version shell: bash run: ./.github/workflows/tinygo-extract-version.sh | tee -a "$GITHUB_OUTPUT" - - name: Install Go - uses: actions/setup-go@v5 - with: - go-version: '1.23' - cache: true + - name: command + shell: bash + run: go env + #- name: Install Go + # uses: actions/setup-go@v5 + # with: + # go-version: '1.23' + # cache: true - name: Restore cached LLVM source uses: actions/cache/restore@v4 id: cache-llvm-source @@ -91,6 +95,25 @@ jobs: with: key: ${{ steps.cache-llvm-build.outputs.cache-primary-key }} path: llvm-build + - name: Restore Go cache + uses: actions/cache/restore@v4 + with: + key: go-cache-v2 + path: | + C:/Users/runneradmin/AppData/Local/go-build + C:/Users/runneradmin/go/pkg/mod + - name: Test TinyGo + shell: bash + run: make test GOTESTFLAGS="-short -run=TestBuild -v" + - name: Save Go cache + uses: actions/cache/save@v4 + with: + key: go-cache-v2 + path: | + C:/Users/runneradmin/AppData/Local/go-build + C:/Users/runneradmin/go/pkg/mod + - name: exit + run: command-does-not-exist - name: Cache wasi-libc sysroot uses: actions/cache@v4 id: cache-wasi-libc @@ -105,9 +128,6 @@ jobs: scoop install [email protected] - name: make gen-device run: make -j3 gen-device - - name: Test TinyGo - shell: bash - run: make test GOTESTFLAGS="-short" - name: Build TinyGo release tarball shell: bash run: make build/release -j4 |