Skip to content

Commit

Permalink
Update build toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Oct 29, 2021
1 parent e44b071 commit 09ccfa8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 19 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
Linux:
runs-on: ubuntu-18.04
container: cr.amira.io/gi0baro/pyoxidizer/musl:d7ed2aa3
container: cr.amira.io/gi0baro/pyoxidizer/musl:0.18.0

steps:
- uses: actions/checkout@v2
Expand All @@ -39,7 +39,7 @@ jobs:
path: dist/noir-${{ steps.build_version.outputs.version }}-x86_64-unknown-linux-musl.sha256sum

MacOS:
runs-on: macos-10.15
runs-on: macos-11

env:
PYOXIDIZER_SYSTEM_RUST: "1"
Expand All @@ -52,7 +52,7 @@ jobs:
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-8)
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: 1.56.0
default: true
profile: minimal
- name: Set up Python
Expand All @@ -61,7 +61,7 @@ jobs:
python-version: 3.9
- name: Install PyOxidizer
run: |
pip install pyoxidizer==0.17.0
pip install pyoxidizer==0.18.0
- name: Build release
run: |
make build_mac ARCH=x86_64-apple-darwin
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-8)
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: 1.56.0
default: true
profile: minimal
- name: Set up Python
Expand All @@ -102,7 +102,7 @@ jobs:
python-version: 3.9
- name: Install PyOxidizer
run: |
pip install pyoxidizer==0.17.0
pip install pyoxidizer==0.18.0
- name: Build release
run: |
make build_win
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
Linux:
runs-on: ubuntu-18.04
container: cr.amira.io/gi0baro/pyoxidizer/musl:d7ed2aa3
container: cr.amira.io/gi0baro/pyoxidizer/musl:0.18.0

steps:
- uses: actions/checkout@v2
Expand All @@ -35,7 +35,7 @@ jobs:
path: dist/noir-${{ steps.build_version.outputs.version }}-linux-x86_64.sha256sum

MacOS:
runs-on: macos-10.15
runs-on: macos-11

env:
PYOXIDIZER_SYSTEM_RUST: "1"
Expand All @@ -48,7 +48,7 @@ jobs:
echo ::set-output name=version::${GITHUB_REF#refs/tags/}
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: 1.56.0
default: true
profile: minimal
- name: Set up Python
Expand All @@ -57,7 +57,7 @@ jobs:
python-version: 3.9
- name: Install PyOxidizer
run: |
pip install pyoxidizer==0.17.0
pip install pyoxidizer==0.18.0
- name: Build release
run: |
make build_mac ARCH=x86_64-apple-darwin
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
echo ::set-output name=version::${GITHUB_REF#refs/tags/}
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.54.0
toolchain: 1.56.0
default: true
profile: minimal
- name: Set up Python
Expand All @@ -100,7 +100,7 @@ jobs:
python-version: 3.9
- name: Install PyOxidizer
run: |
pip install pyoxidizer==0.17.0
pip install pyoxidizer==0.18.0
- name: Build release
run: |
make build_win
Expand Down
7 changes: 0 additions & 7 deletions pyoxidizer.bzl
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
def make_dist():
if BUILD_TARGET_TRIPLE == "x86_64-unknown-linux-musl":
flavor = "standalone_static"
else:
flavor = "standalone"
return default_python_distribution(python_version="3.9", flavor=flavor)

def make_exe():
if BUILD_TARGET_TRIPLE == "x86_64-unknown-linux-musl":
flavor = "standalone_static"
Expand Down

0 comments on commit 09ccfa8

Please sign in to comment.