File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,44 @@ jobs:
134134 - name : Compile with Mill
135135 run : ./mill __.compile
136136
137+ mill3 :
138+ name : compile scala-3 project with mill
139+ runs-on : ubuntu-22.04
140+ steps :
141+ - name : Checkout
142+ uses : actions/checkout@v4
143+ with :
144+ ref : ${{ inputs.ref }}
145+ - name : Setup Java
146+ uses : actions/setup-java@v4
147+ with :
148+ distribution : ' adopt'
149+ java-version : ' 21'
150+ - name : Install CIRCT
151+ id : install-circt
152+ if : ${{ inputs.circt }}
153+ 154+ with :
155+ version : ${{ inputs.circt }}
156+ github-token : ${{ github.token }}
157+ # TODO have install-circt do this
158+ - name : Set CHISEL_FIRTOOL_PATH and CIRCT_INSTALL_PATH
159+ if : steps.install-circt.outcome == 'success'
160+ run : |
161+ bindir=$(dirname $(which firtool))
162+ installdir=$(dirname $bindir)
163+ echo "CHISEL_FIRTOOL_PATH=$bindir" >> "$GITHUB_ENV"
164+ echo "CIRCT_INSTALL_PATH=$installdir" >> "$GITHUB_ENV"
165+ - name : Print firtool version
166+ if : steps.install-circt.outcome == 'success'
167+ run : |
168+ echo "The CIRCT version used is:" >> $GITHUB_STEP_SUMMARY
169+ echo \`\`\` >> $GITHUB_STEP_SUMMARY
170+ $CHISEL_FIRTOOL_PATH/firtool -version >> $GITHUB_STEP_SUMMARY
171+ echo \`\`\` >> $GITHUB_STEP_SUMMARY
172+ - name : Compile with Mill
173+ run : ./mill chisel[3.3.3].compile
174+
137175 doc :
138176 name : Formatting
139177 runs-on : ubuntu-22.04
You can’t perform that action at this time.
0 commit comments