@@ -31,12 +31,14 @@ jobs:
3131
3232 steps :
3333 - uses : actions/checkout@v2
34+ with :
35+ fetch-depth : 0
3436 - name : Install utility tools
3537 shell : bash
3638 run : |
3739 # TODO some of these should probably live in the Docker build image
3840 apt-get update
39- apt-get install -y pixz xz-utils make
41+ apt-get install -y pixz xz-utils make rpm
4042
4143 - name : Build with build script
4244 shell : bash
5456 remill-lift-${{ matrix.llvm }} --arch amd64 --ir_out /dev/stdout --bytes c704ba01000000
5557 remill-lift-${{ matrix.llvm }} --arch aarch64 --ir_out /dev/stdout --address 0x400544 --bytes FD7BBFA90000009000601891FD030091B7FFFF97E0031F2AFD7BC1A8C0035FD6
5658
59+ - name : Locate the packages
60+ id : package_names
61+ shell : bash
62+ working-directory : remill-build
63+ run : |
64+ echo ::set-output name=DEB_PACKAGE_PATH::remill-build/$(ls *.deb)
65+ echo ::set-output name=RPM_PACKAGE_PATH::remill-build/$(ls *.rpm)
66+ echo ::set-output name=TGZ_PACKAGE_PATH::remill-build/$(ls *.tar.gz)
67+
68+ - name : Store the DEB package
69+ uses : actions/upload-artifact@v1
70+ with :
71+ name : ${{ matrix.image.name }}-${{ matrix.image.tag }}_llvm${{ matrix.llvm }}_deb_package
72+ path : ${{ steps.package_names.outputs.DEB_PACKAGE_PATH }}
73+
74+ - name : Store the RPM package
75+ uses : actions/upload-artifact@v1
76+ with :
77+ name : ${{ matrix.image.name }}-${{ matrix.image.tag }}_llvm${{ matrix.llvm }}_rpm_package
78+ path : ${{ steps.package_names.outputs.RPM_PACKAGE_PATH }}
79+
80+ - name : Store the TGZ package
81+ uses : actions/upload-artifact@v1
82+ with :
83+ name : ${{ matrix.image.name }}-${{ matrix.image.tag }}_llvm${{ matrix.llvm }}_tgz_package
84+ path : ${{ steps.package_names.outputs.TGZ_PACKAGE_PATH }}
85+
5786 build_mac :
5887 strategy :
5988 fail-fast : false
6998
7099 steps :
71100 - uses : actions/checkout@v2
101+ with :
102+ fetch-depth : 0
72103 - name : Build with build script
73104 shell : bash
74105 run : ./scripts/build.sh --llvm-version ${{ matrix.llvm }}
@@ -84,3 +115,16 @@ jobs:
84115 run : |
85116 remill-lift-${{ matrix.llvm }} --arch amd64 --ir_out /dev/stdout --bytes c704ba01000000
86117 remill-lift-${{ matrix.llvm }} --arch aarch64 --ir_out /dev/stdout --address 0x400544 --bytes FD7BBFA90000009000601891FD030091B7FFFF97E0031F2AFD7BC1A8C0035FD6
118+
119+ - name : Locate the packages
120+ id : package_names
121+ shell : bash
122+ working-directory : remill-build
123+ run : |
124+ echo ::set-output name=TGZ_PACKAGE_PATH::remill-build/$(ls *.tar.gz)
125+
126+ - name : Store the TGZ package
127+ uses : actions/upload-artifact@v1
128+ with :
129+ name : macos-11.0_llvm${{ matrix.llvm }}_tgz_package
130+ path : ${{ steps.package_names.outputs.TGZ_PACKAGE_PATH }}
0 commit comments