Skip to content

Commit

Permalink
Add gcc binary artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
antoyo committed Aug 24, 2023
1 parent a6b3e98 commit 16686cb
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,29 @@ jobs:
ls
mkdir build install
cd build
../gcc/configure --enable-host-shared --enable-languages=jit,c++,lto --disable-bootstrap --disable-multilib --prefix=$(pwd)/../install
../gcc/configure --enable-host-shared --enable-languages=c,jit,c++,lto --disable-bootstrap --disable-multilib --prefix=$(pwd)/../install/usr --libdir=$(pwd)/../install/usr/lib --libexecdir=$(pwd)/../install/usr/lib
make -j4
ls -R
echo "*************************"
tree
make install
- name: Build Debian package
run: |
cd ..
mkdir install/DEBIAN
cat > install/DEBIAN/control << EOF
Package: gcc-13
Version: 13
Architecture: amd64
Maintainer: Antoni Boucher <bouanto@zoho.com>
Description: gcc 13 for rustc_codegen_gcc CI
EOF
dpkg-deb --root-owner-group --build install
mv install.deb gcc-13.deb
- uses: actions/upload-artifact@v3
with:
name: gcc-13
path: /home/runner/work/gcc/gcc-13.deb
if-no-files-found: error

- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit 16686cb

Please sign in to comment.