Skip to content

Commit

Permalink
ci: #50 add nightly flag
Browse files Browse the repository at this point in the history
  • Loading branch information
georgik committed Apr 6, 2022
1 parent 508ddda commit 97e774e
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/actions/build/build-rust-std/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
if: startsWith(matrix.os, 'windows')
working-directory: ${{ env.work_dir }}
shell: pwsh
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --dist-compression-formats='xz'

#- name: Build with x.py - Standard Library
# if: startsWith(matrix.os, 'windows')
Expand All @@ -33,13 +33,13 @@ runs:
if: startsWith(matrix.os, 'macos')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --dist-compression-formats='xz' --set rust.jemalloc
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --dist-compression-formats='xz' --set rust.jemalloc

- name: Prepare build
if: startsWith(matrix.os, 'ubuntu')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --dist-compression-formats='xz'

- name: Build with x.py - Standard Library
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/build/build-rustc/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
if: startsWith(matrix.os, 'windows')
working-directory: ${{ env.work_dir }}
shell: pwsh
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --dist-compression-formats='xz'

#- name: Build with x.py - Compiler
# if: startsWith(matrix.os, 'windows')
Expand All @@ -33,13 +33,13 @@ runs:
if: startsWith(matrix.os, 'macos')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --dist-compression-formats='xz' --set rust.jemalloc
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --dist-compression-formats='xz' --set rust.jemalloc

- name: Prepare build
if: startsWith(matrix.os, 'ubuntu')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --dist-compression-formats='xz'

- name: Build with x.py - Compiler
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/build/build-src/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
if: startsWith(matrix.os, 'windows')
working-directory: ${{ env.work_dir }}
shell: pwsh
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'

- name: Dist with x.py - Src - Windows
if: startsWith(matrix.os, 'windows')
Expand All @@ -26,13 +26,13 @@ runs:
if: startsWith(matrix.os, 'macos')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc

- name: Prepare build - Unix
if: startsWith(matrix.os, 'ubuntu')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'

- name: Dist with x.py - Src - Unix
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/build/build-tools/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
if: startsWith(matrix.os, 'windows')
working-directory: ${{ env.work_dir }}
shell: pwsh
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'

#- name: Build with x.py - Tools
# if: startsWith(matrix.os, 'windows')
Expand All @@ -35,13 +35,13 @@ runs:
if: startsWith(matrix.os, 'macos')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc

- name: Prepare build
if: startsWith(matrix.os, 'ubuntu')
working-directory: ${{ env.work_dir }}
shell: bash
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
run: python3 src/bootstrap/configure.py ${{ matrix.llvm_root_option }} --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'

- name: Build with x.py - Tools
if: startsWith(matrix.os, 'macos') || startsWith(matrix.os, 'ubuntu')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
submodules: true
- name: Prepare build
run: |
arch -arm64 python3 src/bootstrap/configure.py --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc
arch -arm64 python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc
- name: Build with x.py - dist packages - with cached LLVM
run: arch -arm64 python3 x.py dist --stage 2 || echo "silence pkg build error"
- name: Upload Release Asset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
submodules: true
- name: Prepare build
run: |
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz' --set rust.jemalloc
- name: Build with x.py - dist packages
run: python3 x.py dist --stage 2 || echo "Ignoring pkg failure"
- name: Upload Release Asset
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Prepare build
working-directory: "R:"
run: |
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
- name: Build with x.py - dist packages
working-directory: "R:"
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion support/rust-build/aarch64-unknown-linux-gnu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e

git clone --recursive --depth 1 --shallow-submodules https://github.com/esp-rs/rust.git
cd rust
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
python3 x.py dist --stage 2

2 changes: 1 addition & 1 deletion support/rust-build/x86_64-unknown-linux-gnu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ set -e

git clone --recursive --depth 1 --shallow-submodules https://github.com/esp-rs/rust.git
cd rust
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
python3 src/bootstrap/configure.py --experimental-targets=Xtensa --release-channel=nightly --enable-extended --tools=clippy,cargo,rustfmt --dist-compression-formats='xz'
python3 x.py dist --stage 2

0 comments on commit 97e774e

Please sign in to comment.