Skip to content

Commit 46b1070

Browse files
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](actions/download-artifact@v3...v4.1.7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent cdcd5f5 commit 46b1070

File tree

1 file changed

+131
-131
lines changed

1 file changed

+131
-131
lines changed

.github/workflows/build-compiler.yml

Lines changed: 131 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,131 @@
1-
name: 'Build compiler'
2-
3-
on:
4-
push:
5-
branches:
6-
- '**'
7-
paths:
8-
- '.github/workflows/**'
9-
- 'examples/**'
10-
- 'library/**'
11-
- 'source/**'
12-
- 'test/**'
13-
pull_request:
14-
branches:
15-
- '**'
16-
paths:
17-
- '.github/workflows/**'
18-
- 'examples/**'
19-
- 'library/**'
20-
- 'source/**'
21-
- 'test/**'
22-
23-
defaults:
24-
run:
25-
shell: pwsh
26-
27-
jobs:
28-
build-compiler:
29-
name: 'Building'
30-
31-
strategy:
32-
matrix:
33-
system:
34-
- windows-2022
35-
- ubuntu-22.04
36-
- macos-12
37-
node-version:
38-
- 20.x
39-
40-
runs-on: ${{ matrix.system }}
41-
42-
steps:
43-
- name: Checkout
44-
uses: actions/checkout@v3
45-
with:
46-
fetch-depth: 0
47-
48-
- name: Setup Node.js
49-
uses: actions/setup-node@v3
50-
with:
51-
node-version: ${{ matrix.node-version }}
52-
cache: 'npm'
53-
54-
- name: Run Npm
55-
run: |
56-
npm clean-install
57-
58-
- name: Build Hexa
59-
run: |
60-
node --trace-uncaught bootstrap.js --define debug=false hexa.json
61-
node --trace-uncaught hexa-node.js --define debug=true --define times=false hexa.json
62-
node --trace-uncaught hexa-node.js --define debug=false --define times=false hexa.json
63-
64-
- name: Build Hexa installer
65-
if: runner.os == 'Windows'
66-
run: |
67-
git clone --depth 1 https://github.com/GreenteaOS/Teapot.git ../Teapot
68-
node tools\innoSetup\dateToVersion.js
69-
cd tools\innoSetup
70-
iscc.exe installHexa.iss
71-
cd ..
72-
cd ..
73-
74-
- name: Upload artifact
75-
uses: actions/upload-artifact@v3
76-
with:
77-
name: hexa-node.js-${{ matrix.system }}-${{ github.sha }}
78-
path: hexa-node.js
79-
80-
- name: Upload installer
81-
if: runner.os == 'Windows'
82-
uses: actions/upload-artifact@v3
83-
with:
84-
path: Hexa-*.exe
85-
name: Hexa-INSTALLER.exe
86-
if-no-files-found: error
87-
88-
test-compiler:
89-
name: 'Testing'
90-
91-
needs: build-compiler
92-
93-
strategy:
94-
matrix:
95-
system:
96-
- windows-2022
97-
- ubuntu-22.04
98-
- macos-12
99-
node-version:
100-
- 20.x
101-
102-
runs-on: ${{ matrix.system }}
103-
104-
steps:
105-
- name: Checkout
106-
uses: actions/checkout@v3
107-
with:
108-
fetch-depth: 0
109-
110-
- name: Get Hexa
111-
uses: actions/download-artifact@v3
112-
with:
113-
name: hexa-node.js-${{ matrix.system }}-${{ github.sha }}
114-
115-
- name: Setup Node.js
116-
uses: actions/setup-node@v3
117-
with:
118-
node-version: ${{ matrix.node-version }}
119-
cache: 'npm'
120-
121-
- name: Build tests
122-
run: |
123-
node --trace-uncaught hexa-node.js test/lts/hello/hexa.json
124-
node --trace-uncaught hexa-node.js test/normalizer/hexa.json
125-
126-
- name: Build examples
127-
run: |
128-
node --trace-uncaught hexa-node.js examples/html-raytracer/hexa.json
129-
node --trace-uncaught hexa-node.js examples/native-posix/hexa.json
130-
node --trace-uncaught hexa-node.js examples/native-win32/hexa.json
131-
node --trace-uncaught hexa-node.js examples/node-platform/hexa.json
1+
name: 'Build compiler'
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
paths:
8+
- '.github/workflows/**'
9+
- 'examples/**'
10+
- 'library/**'
11+
- 'source/**'
12+
- 'test/**'
13+
pull_request:
14+
branches:
15+
- '**'
16+
paths:
17+
- '.github/workflows/**'
18+
- 'examples/**'
19+
- 'library/**'
20+
- 'source/**'
21+
- 'test/**'
22+
23+
defaults:
24+
run:
25+
shell: pwsh
26+
27+
jobs:
28+
build-compiler:
29+
name: 'Building'
30+
31+
strategy:
32+
matrix:
33+
system:
34+
- windows-2022
35+
- ubuntu-22.04
36+
- macos-12
37+
node-version:
38+
- 20.x
39+
40+
runs-on: ${{ matrix.system }}
41+
42+
steps:
43+
- name: Checkout
44+
uses: actions/checkout@v3
45+
with:
46+
fetch-depth: 0
47+
48+
- name: Setup Node.js
49+
uses: actions/setup-node@v3
50+
with:
51+
node-version: ${{ matrix.node-version }}
52+
cache: 'npm'
53+
54+
- name: Run Npm
55+
run: |
56+
npm clean-install
57+
58+
- name: Build Hexa
59+
run: |
60+
node --trace-uncaught bootstrap.js --define debug=false hexa.json
61+
node --trace-uncaught hexa-node.js --define debug=true --define times=false hexa.json
62+
node --trace-uncaught hexa-node.js --define debug=false --define times=false hexa.json
63+
64+
- name: Build Hexa installer
65+
if: runner.os == 'Windows'
66+
run: |
67+
git clone --depth 1 https://github.com/GreenteaOS/Teapot.git ../Teapot
68+
node tools\innoSetup\dateToVersion.js
69+
cd tools\innoSetup
70+
iscc.exe installHexa.iss
71+
cd ..
72+
cd ..
73+
74+
- name: Upload artifact
75+
uses: actions/upload-artifact@v3
76+
with:
77+
name: hexa-node.js-${{ matrix.system }}-${{ github.sha }}
78+
path: hexa-node.js
79+
80+
- name: Upload installer
81+
if: runner.os == 'Windows'
82+
uses: actions/upload-artifact@v3
83+
with:
84+
path: Hexa-*.exe
85+
name: Hexa-INSTALLER.exe
86+
if-no-files-found: error
87+
88+
test-compiler:
89+
name: 'Testing'
90+
91+
needs: build-compiler
92+
93+
strategy:
94+
matrix:
95+
system:
96+
- windows-2022
97+
- ubuntu-22.04
98+
- macos-12
99+
node-version:
100+
- 20.x
101+
102+
runs-on: ${{ matrix.system }}
103+
104+
steps:
105+
- name: Checkout
106+
uses: actions/checkout@v3
107+
with:
108+
fetch-depth: 0
109+
110+
- name: Get Hexa
111+
uses: actions/download-artifact@v4.1.7
112+
with:
113+
name: hexa-node.js-${{ matrix.system }}-${{ github.sha }}
114+
115+
- name: Setup Node.js
116+
uses: actions/setup-node@v3
117+
with:
118+
node-version: ${{ matrix.node-version }}
119+
cache: 'npm'
120+
121+
- name: Build tests
122+
run: |
123+
node --trace-uncaught hexa-node.js test/lts/hello/hexa.json
124+
node --trace-uncaught hexa-node.js test/normalizer/hexa.json
125+
126+
- name: Build examples
127+
run: |
128+
node --trace-uncaught hexa-node.js examples/html-raytracer/hexa.json
129+
node --trace-uncaught hexa-node.js examples/native-posix/hexa.json
130+
node --trace-uncaught hexa-node.js examples/native-win32/hexa.json
131+
node --trace-uncaught hexa-node.js examples/node-platform/hexa.json

0 commit comments

Comments
 (0)