@@ -25,15 +25,12 @@ jobs:
2525 - { name: 'ubuntu', tag: '18.04' }
2626 - { name: 'ubuntu', tag: '20.04' }
2727 llvm : [
28- ' 9' ,
29- ' 10' ,
30- ' 11' ,
3128 ' 12'
3229 ]
3330
3431 runs-on : ubuntu-20.04
3532 container :
36- image : docker.pkg.github.com /lifting-bits/cxx-common/vcpkg-builder-${{ matrix.image.name }}:${{ matrix.image.tag }}
33+ image : ghcr.io /lifting-bits/cxx-common/vcpkg-builder-${{ matrix.image.name }}:${{ matrix.image.tag }}
3734 credentials :
3835 username : ${{ github.actor }}
3936 password : ${{ secrets.GITHUB_TOKEN }}
4239 - uses : actions/checkout@v2
4340 with :
4441 fetch-depth : 0
45- - name : Install utility tools
46- shell : bash
47- run : |
48- # TODO some of these should probably live in the Docker build image
49- apt-get update
50- apt-get install -y pixz xz-utils make rpm
5142
5243 - name : Build with build script
5344 shell : bash
9889 fail-fast : false
9990 matrix :
10091 os : [
101- ' macos-10.15 '
92+ ' macos-11 '
10293 ]
10394 llvm : [
104- ' 11' ,
10595 ' 12'
10696 ]
10797
@@ -188,8 +178,8 @@ jobs:
188178 zip -r9 remill_ubuntu-20.04_packages.zip \
189179 ubuntu-20.04*
190180
191- zip -r9 remill_macos-10.15_packages .zip \
192- macos-10.15 *
181+ zip -r9 remill_macos-11_packages .zip \
182+ macos-11 *
193183
194184 - name : Upload the Ubuntu 18.04 packages
195185 uses : actions/upload-release-asset@v1
@@ -215,32 +205,32 @@ jobs:
215205 asset_name : remill_ubuntu-20.04_packages.zip
216206 asset_content_type : application/gzip
217207
218- - name : Upload the macOS 10.15 packages
208+ - name : Upload the macOS 11 packages
219209 uses : actions/upload-release-asset@v1
220210
221211 env :
222212 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
223213
224214 with :
225215 upload_url : ${{ steps.create_release.outputs.upload_url }}
226- asset_path : remill_macos-10.15_packages .zip
227- asset_name : remill_macos-10.15_packages .zip
216+ asset_path : remill_macos-11_packages .zip
217+ asset_name : remill_macos-11_packages .zip
228218 asset_content_type : application/gzip
229219
230220
231221 Docker_Linux :
232222 runs-on : ubuntu-latest
233223 strategy :
234224 matrix :
235- llvm : ["11 "]
225+ llvm : ["12 "]
236226 ubuntu : ["18.04"]
237227 steps :
238228 - uses : actions/checkout@v2
239229 - name : Build LLVM ${{ matrix.llvm }} on ${{ matrix.ubuntu }}
240230 run : |
241- docker build . -t docker.pkg.github.com /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest -f Dockerfile --build-arg UBUNTU_VERSION=${{ matrix.ubuntu }} --build-arg ARCH=amd64 --build-arg LLVM_VERSION=${{ matrix.llvm }}
231+ docker build . -t ghcr.io /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest -f Dockerfile --build-arg UBUNTU_VERSION=${{ matrix.ubuntu }} --build-arg ARCH=amd64 --build-arg LLVM_VERSION=${{ matrix.llvm }}
242232 - name : Test Docker image
243233 run : |
244- docker run --rm docker.pkg.github.com /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest --arch amd64 --ir_out /dev/stdout --bytes c704ba01000000
245- docker run --rm docker.pkg.github.com /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest --arch aarch64 --ir_out /dev/stdout --address 0x400544 --bytes FD7BBFA90000009000601891FD030091B7FFFF97E0031F2AFD7BC1A8C0035FD6
246- docker run --rm docker.pkg.github.com /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest --arch aarch32 -ir_out /dev/stderr --bytes 0cd04de208008de504108de500208de508309de504009de500109de5903122e0c20fa0e110109fe5001091e5002081e5040081e50cd08de21eff2fe14000000000000000
234+ docker run --rm ghcr.io /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest --arch amd64 --ir_out /dev/stdout --bytes c704ba01000000
235+ docker run --rm ghcr.io /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest --arch aarch64 --ir_out /dev/stdout --address 0x400544 --bytes FD7BBFA90000009000601891FD030091B7FFFF97E0031F2AFD7BC1A8C0035FD6
236+ docker run --rm ghcr.io /lifting-bits/remill/remill-llvm${{ matrix.llvm }}-ubuntu${{ matrix.ubuntu }}-amd64:latest --arch aarch32 -ir_out /dev/stderr --bytes 0cd04de208008de504108de500208de508309de504009de500109de5903122e0c20fa0e110109fe5001091e5002081e5040081e50cd08de21eff2fe14000000000000000
0 commit comments