diff --git a/.github/workflows/bullseye-x86_64-sysroot.yaml b/.github/workflows/bullseye-x86_64-sysroot.yaml new file mode 100644 index 0000000..1799b45 --- /dev/null +++ b/.github/workflows/bullseye-x86_64-sysroot.yaml @@ -0,0 +1,31 @@ +--- +name: bullseye-x86_64 sysroot +on: + pull_request: + paths: + - "sysroot/**" + - .github/workflows/bullseye-x86_64-sysroot.yaml + push: + tags: + - "bullseye-x86_64-sysroot-*" + +jobs: + toolchains: + runs-on: ubuntu-22.04 + name: bullseye-x86_64 sysroot + steps: + - name: Checkout source + uses: actions/checkout@v2 + + - name: Create sysroot + run: ./sysroot/sysroot-creator.sh build amd64 + + - name: Upload sysroot + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') + uses: svenstaro/upload-release-action@v1-release + with: + repo_token: ${{ secrets.GITHUB_TOKEN }} + file: "sysroot/out/sysroot-build/bullseye/debian_bullseye_amd64_sysroot.tar.xz" + tag: ${{ github.ref }} + asset_name: debian_bullseye_x86_64_sysroot.tar.xz + overwrite: true diff --git a/.gitignore b/.gitignore index 47818a8..c2954e1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ build/ build-x86/ output/ llvm-obfuscator-*.txz +sysroot/out diff --git a/sysroot/generated_package_lists/bullseye.amd64 b/sysroot/generated_package_lists/bullseye.amd64 new file mode 100644 index 0000000..9cbed82 --- /dev/null +++ b/sysroot/generated_package_lists/bullseye.amd64 @@ -0,0 +1,8 @@ +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/g/gcc-10/libgcc-10-dev_10.2.1-6_amd64.deb +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/g/gcc-10/libgcc-s1_10.2.1-6_amd64.deb +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/g/gcc-10/libstdc++-10-dev_10.2.1-6_amd64.deb +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/g/gcc-10/libstdc++6_10.2.1-6_amd64.deb +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/g/glibc/libc6_2.31-13+deb11u5_amd64.deb +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/g/glibc/libc6-dev_2.31-13+deb11u5_amd64.deb +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/l/linux/linux-libc-dev_6.1.12-1~bpo11+1_amd64.deb +https://snapshot.debian.org/archive/debian/20230329T085712Z/pool/main/u/util-linux/uuid-dev_2.36.1-8+deb11u1_amd64.deb diff --git a/sysroot/sysroot-creator.sh b/sysroot/sysroot-creator.sh index 60af2b5..896b7d2 100755 --- a/sysroot/sysroot-creator.sh +++ b/sysroot/sysroot-creator.sh @@ -64,14 +64,6 @@ DEBIAN_PACKAGES="\ " DEBIAN_PACKAGES_AMD64=" - libasan6 - libdrm-intel1 - libitm1 - liblsan0 - libquadmath0 - libtsan0 - libubsan1 - valgrind " DEBIAN_PACKAGES_I386="