Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
mildaniel committed Jul 4, 2024
1 parent 324fbfc commit fe24ac7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/validate_pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,16 @@ jobs:
build-for-linux:
name: build-pyinstaller-linux
runs-on: ubuntu-latest
# container: quay.io/pypa/manylinux_2_28_x86_64:latest
# env:
# # We need to set this variable as a workaround for using Node16, a Node version that our
# # image can support with the glibc version installed.
# # https://github.com/actions/checkout/issues/1809
# ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
if: github.repository_owner == 'aws'
strategy:
fail-fast: false
steps:
# we need to keep checkout as v3 otherwise it doesn't work with manylinux image above
# due to glibc requirement from github actions
# see example failure: https://github.com/aws/aws-sam-cli/actions/runs/6102715182/job/16561754862?pr=5887
- uses: actions/checkout@v4
- run: chmod +x ./installer/pyinstaller/build-linux.sh
- name: Build PyInstaller
run: |
docker run --rm -v .:/samcli -w /samcli quay.io/pypa/manylinux2014_x86_64:latest /samcli/installer/pyinstaller/build-linux.sh aws-sam-cli-linux-x86_64.zip
# docker run --rm -v .:/samcli -w /samcli quay.io/pypa/manylinux2014_x86_64:latest /samcli/installer/pyinstaller/build-linux.sh aws-sam-cli-linux-x86_64.zip
sam --version
- name: Basic tests for PyInstaller
run: |
unzip .build/output/aws-sam-cli-linux-x86_64.zip -d sam-installation
Expand Down

0 comments on commit fe24ac7

Please sign in to comment.