9 name: Build Maven Tooling on ${{ matrix.os }}
10 runs-on: ${{ matrix.os }}
19 name: Clone Git Repository
20 uses: actions/checkout@v4
23 uses: graalvm/setup-graalvm@v1
26 java-version: ${{ env.JAVA_VERSION }}
27 github-token: ${{ secrets.GITHUB_TOKEN }}
31 run: mvn --batch-mode --projects yosql-tooling/yosql-tooling-maven,yosql-examples/yosql-examples-common --also-make install
34 run: mvn --batch-mode --projects yosql-examples/yosql-examples-maven --also-make --also-make-dependents verify
36 name: Build Gradle Tooling on ${{ matrix.os }}
37 runs-on: ${{ matrix.os }}
46 name: Clone Git Repository
47 uses: actions/checkout@v4
50 uses: graalvm/setup-graalvm@v1
53 java-version: ${{ env.JAVA_VERSION }}
54 github-token: ${{ secrets.GITHUB_TOKEN }}
58 run: mvn --batch-mode --projects yosql-tooling/yosql-tooling-dagger,yosql-examples/yosql-examples-common --also-make install
61 run: cd ./yosql-examples/yosql-examples-gradle/ && ./gradlew build run
63 name: Build Ant Tooling on ${{ matrix.os }}
64 runs-on: ${{ matrix.os }}
73 name: Clone Git Repository
74 uses: actions/checkout@v4
77 uses: graalvm/setup-graalvm@v1
80 java-version: ${{ env.JAVA_VERSION }}
81 github-token: ${{ secrets.GITHUB_TOKEN }}
85 run: mvn --batch-mode --projects yosql-tooling/yosql-tooling-ant --also-make verify
88 run: mvn --batch-mode --projects yosql-examples/yosql-examples-ant --also-make --also-make-dependents verify
89 - id: upload-ant-tooling
90 name: Upload Ant Tooling
91 uses: actions/upload-artifact@v4
93 name: yosql-tooling-ant-${{ matrix.os }}
94 path: ./yosql-tooling/yosql-tooling-ant/target/yosql-tooling-ant-*-dist*
96 name: Build CLI Tooling on ${{ matrix.os }}
97 runs-on: ${{ matrix.os }}
106 name: Clone Git Repository
107 uses: actions/checkout@v4
110 uses: graalvm/setup-graalvm@v1
112 distribution: graalvm
113 java-version: ${{ env.JAVA_VERSION }}
114 github-token: ${{ secrets.GITHUB_TOKEN }}
118 run: mvn --batch-mode --projects yosql-tooling/yosql-tooling-cli --also-make --define skipNativeBuild=false verify
121 run: mvn --batch-mode --projects yosql-examples/yosql-examples-cli --also-make --also-make-dependents verify
122 - id: upload-jvm-cli-tooling
123 name: Upload JVM CLI Tooling
124 uses: actions/upload-artifact@v4
125 if: runner.os == 'Linux'
127 name: yosql-tooling-cli-jvm
128 path: ./yosql-tooling/yosql-tooling-cli/target/yosql-tooling-cli-*-jvm*
129 - id: upload-linux-cli-tooling
130 name: Upload Linux CLI Tooling
131 uses: actions/upload-artifact@v4
132 if: runner.os == 'Linux'
134 name: yosql-tooling-cli-linux
135 path: ./yosql-tooling/yosql-tooling-cli/target/yosql-tooling-cli-*-linux*
136 - id: upload-mac-cli-tooling
137 name: Upload Mac OSX CLI Tooling
138 uses: actions/upload-artifact@v4
139 if: runner.os == 'macOS'
141 name: yosql-tooling-cli-mac
142 path: ./yosql-tooling/yosql-tooling-cli/target/yosql-tooling-cli-*-mac*
143 - id: upload-windows-cli-tooling
144 name: Upload Windows CLI Tooling
145 uses: actions/upload-artifact@v4
146 if: runner.os == 'Windows'
148 name: yosql-tooling-cli-windows
149 path: ./yosql-tooling/yosql-tooling-cli/target/yosql-tooling-cli-*-windows*
151 name: Build Benchmarks on ${{ matrix.os }}
152 runs-on: ${{ matrix.os }}
161 name: Clone Git Repository
162 uses: actions/checkout@v4
165 uses: graalvm/setup-graalvm@v1
167 distribution: graalvm
168 java-version: ${{ env.JAVA_VERSION }}
169 github-token: ${{ secrets.GITHUB_TOKEN }}
173 run: mvn --batch-mode --projects yosql-tooling/yosql-tooling-maven --also-make install
174 - id: maven_benchmarks
175 name: Build Benchmarks
176 run: mvn --batch-mode --projects yosql-benchmarks --also-make --also-make-dependents verify
178 name: Build Website on ${{ matrix.os }}
179 runs-on: ${{ matrix.os }}
184 # - macos-latest # TODO: enable once https://github.com/peaceiris/actions-hugo/issues/605 is fixed
185 # - windows-latest # TODO: enable once https://github.com/peaceiris/actions-hugo/issues/608 is fixed
188 name: Clone Git Repository
189 uses: actions/checkout@v4
192 uses: peaceiris/actions-hugo@v3
197 uses: graalvm/setup-graalvm@v1
199 distribution: graalvm
200 java-version: ${{ env.JAVA_VERSION }}
201 github-token: ${{ secrets.GITHUB_TOKEN }}
205 run: mvn --batch-mode --projects yosql-website --also-make --define skipTests install
208 run: hugo --minify --printI18nWarnings --printPathWarnings --printUnusedTemplates --source yosql-website
213 uses: wjdp/htmltest-action@master
215 config: ./yosql-website/htmltest.yml