no more need to apt-get install

This commit is contained in:
Max Howell 2022-12-21 14:07:10 -05:00
parent f4f1413665
commit 003e6b0c8f
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC

View file

@ -50,11 +50,6 @@ jobs:
- name: HACKS - name: HACKS
run: | run: |
case ${{ matrix.platform.os }} in case ${{ matrix.platform.os }} in
ubuntu-latest)
#FIXME our LLVM doesn't provide c/c++ headers for some reason
apt-get update
apt-get --yes install libc-dev libstdc++-8-dev libgcc-8-dev
;;
macos-11) macos-11)
#FIXME we need a clean install of macOS for builds #FIXME we need a clean install of macOS for builds
#TODO stop using GHA images or chroot or something #TODO stop using GHA images or chroot or something
@ -144,11 +139,7 @@ jobs:
prefix: ${{ github.workspace }} prefix: ${{ github.workspace }}
- run: | - run: |
apt-get update # in case this PR contains updates to the scripts TODO only PRs
apt-get --yes install libc-dev libstdc++-8-dev libgcc-8-dev
# in case this PR contains updates to the scripts
#TODO only do for PRs
if test "$GITHUB_REPOSITORY" = "teaxyz/pantry.core"; then if test "$GITHUB_REPOSITORY" = "teaxyz/pantry.core"; then
cp -rv pantry/scripts/* $(tea --prefix)/tea.xyz/var/pantry/scripts cp -rv pantry/scripts/* $(tea --prefix)/tea.xyz/var/pantry/scripts
fi fi