From 46b1070cee6e3386397626811f12b5fda82314f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 22:53:09 +0000 Subject: [PATCH] Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 3 to 4.1.7. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v3...v4.1.7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/build-compiler.yml | 262 +++++++++++++-------------- 1 file changed, 131 insertions(+), 131 deletions(-) diff --git a/.github/workflows/build-compiler.yml b/.github/workflows/build-compiler.yml index c516c1e..235f874 100644 --- a/.github/workflows/build-compiler.yml +++ b/.github/workflows/build-compiler.yml @@ -1,131 +1,131 @@ -name: 'Build compiler' - -on: - push: - branches: - - '**' - paths: - - '.github/workflows/**' - - 'examples/**' - - 'library/**' - - 'source/**' - - 'test/**' - pull_request: - branches: - - '**' - paths: - - '.github/workflows/**' - - 'examples/**' - - 'library/**' - - 'source/**' - - 'test/**' - -defaults: - run: - shell: pwsh - -jobs: - build-compiler: - name: 'Building' - - strategy: - matrix: - system: - - windows-2022 - - ubuntu-22.04 - - macos-12 - node-version: - - 20.x - - runs-on: ${{ matrix.system }} - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - - name: Run Npm - run: | - npm clean-install - - - name: Build Hexa - run: | - node --trace-uncaught bootstrap.js --define debug=false hexa.json - node --trace-uncaught hexa-node.js --define debug=true --define times=false hexa.json - node --trace-uncaught hexa-node.js --define debug=false --define times=false hexa.json - - - name: Build Hexa installer - if: runner.os == 'Windows' - run: | - git clone --depth 1 https://github.com/GreenteaOS/Teapot.git ../Teapot - node tools\innoSetup\dateToVersion.js - cd tools\innoSetup - iscc.exe installHexa.iss - cd .. - cd .. - - - name: Upload artifact - uses: actions/upload-artifact@v3 - with: - name: hexa-node.js-${{ matrix.system }}-${{ github.sha }} - path: hexa-node.js - - - name: Upload installer - if: runner.os == 'Windows' - uses: actions/upload-artifact@v3 - with: - path: Hexa-*.exe - name: Hexa-INSTALLER.exe - if-no-files-found: error - - test-compiler: - name: 'Testing' - - needs: build-compiler - - strategy: - matrix: - system: - - windows-2022 - - ubuntu-22.04 - - macos-12 - node-version: - - 20.x - - runs-on: ${{ matrix.system }} - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - - name: Get Hexa - uses: actions/download-artifact@v3 - with: - name: hexa-node.js-${{ matrix.system }}-${{ github.sha }} - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - - - name: Build tests - run: | - node --trace-uncaught hexa-node.js test/lts/hello/hexa.json - node --trace-uncaught hexa-node.js test/normalizer/hexa.json - - - name: Build examples - run: | - node --trace-uncaught hexa-node.js examples/html-raytracer/hexa.json - node --trace-uncaught hexa-node.js examples/native-posix/hexa.json - node --trace-uncaught hexa-node.js examples/native-win32/hexa.json - node --trace-uncaught hexa-node.js examples/node-platform/hexa.json +name: 'Build compiler' + +on: + push: + branches: + - '**' + paths: + - '.github/workflows/**' + - 'examples/**' + - 'library/**' + - 'source/**' + - 'test/**' + pull_request: + branches: + - '**' + paths: + - '.github/workflows/**' + - 'examples/**' + - 'library/**' + - 'source/**' + - 'test/**' + +defaults: + run: + shell: pwsh + +jobs: + build-compiler: + name: 'Building' + + strategy: + matrix: + system: + - windows-2022 + - ubuntu-22.04 + - macos-12 + node-version: + - 20.x + + runs-on: ${{ matrix.system }} + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Run Npm + run: | + npm clean-install + + - name: Build Hexa + run: | + node --trace-uncaught bootstrap.js --define debug=false hexa.json + node --trace-uncaught hexa-node.js --define debug=true --define times=false hexa.json + node --trace-uncaught hexa-node.js --define debug=false --define times=false hexa.json + + - name: Build Hexa installer + if: runner.os == 'Windows' + run: | + git clone --depth 1 https://github.com/GreenteaOS/Teapot.git ../Teapot + node tools\innoSetup\dateToVersion.js + cd tools\innoSetup + iscc.exe installHexa.iss + cd .. + cd .. + + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: hexa-node.js-${{ matrix.system }}-${{ github.sha }} + path: hexa-node.js + + - name: Upload installer + if: runner.os == 'Windows' + uses: actions/upload-artifact@v3 + with: + path: Hexa-*.exe + name: Hexa-INSTALLER.exe + if-no-files-found: error + + test-compiler: + name: 'Testing' + + needs: build-compiler + + strategy: + matrix: + system: + - windows-2022 + - ubuntu-22.04 + - macos-12 + node-version: + - 20.x + + runs-on: ${{ matrix.system }} + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Get Hexa + uses: actions/download-artifact@v4.1.7 + with: + name: hexa-node.js-${{ matrix.system }}-${{ github.sha }} + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + + - name: Build tests + run: | + node --trace-uncaught hexa-node.js test/lts/hello/hexa.json + node --trace-uncaught hexa-node.js test/normalizer/hexa.json + + - name: Build examples + run: | + node --trace-uncaught hexa-node.js examples/html-raytracer/hexa.json + node --trace-uncaught hexa-node.js examples/native-posix/hexa.json + node --trace-uncaught hexa-node.js examples/native-win32/hexa.json + node --trace-uncaught hexa-node.js examples/node-platform/hexa.json