mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-03 06:02:54 +00:00
basic-cli release prep
This commit is contained in:
parent
637c98b1f1
commit
5853ece0a8
5 changed files with 13 additions and 11 deletions
13
.github/workflows/basic_cli_build_release.yml
vendored
13
.github/workflows/basic_cli_build_release.yml
vendored
|
|
@ -1,4 +1,5 @@
|
|||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
# this cancels workflows currently in progress if you start a new one
|
||||
|
|
@ -18,9 +19,9 @@ jobs:
|
|||
run: |
|
||||
./ci/get_releases_json.sh
|
||||
|
||||
- run: curl -OL $(./ci/get_latest_release_url.sh linux_x86_64)
|
||||
- run: curl -OL $(./ci/get_latest_release_url.sh macos_x86_64)
|
||||
- run: curl -OL $(./ci/get_latest_release_url.sh silicon)
|
||||
- run: curl -OL $(./ci/get_latest_release_url.sh linuxTESTING_x86_64)
|
||||
- run: curl -OL $(./ci/get_latest_release_url.sh macosTESTING_x86_64)
|
||||
- run: curl -OL $(./ci/get_latest_release_url.sh macosTESTING_apple_silicon)
|
||||
|
||||
- name: Save roc_nightly archives
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
@ -39,7 +40,7 @@ jobs:
|
|||
- name: build basic-cli with surgical linker and also with legacy linker
|
||||
env:
|
||||
CARGO_BUILD_TARGET: x86_64-unknown-linux-musl
|
||||
run: ./ci/build_basic_cli.sh linux_x86_64 "--linker legacy"
|
||||
run: ./ci/build_basic_cli.sh linuxTESTING_x86_64 "--linker legacy"
|
||||
|
||||
- name: Save .rh, .rm and .o file
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
@ -59,7 +60,7 @@ jobs:
|
|||
- name: Download the previously uploaded roc_nightly archives
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
- run: ./ci/build_basic_cli.sh macos_x86_64
|
||||
- run: ./ci/build_basic_cli.sh macosTESTING_x86_64
|
||||
|
||||
- name: Save .o files
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
@ -78,7 +79,7 @@ jobs:
|
|||
- name: Download the previously uploaded roc_nightly archives
|
||||
uses: actions/download-artifact@v3
|
||||
|
||||
- run: ./ci/build_basic_cli.sh silicon
|
||||
- run: ./ci/build_basic_cli.sh macosTESTING_apple_silicon
|
||||
|
||||
- name: Save macos-arm64.o file
|
||||
uses: actions/upload-artifact@v3
|
||||
|
|
|
|||
1
.github/workflows/nightly_linux_x86_64.yml
vendored
1
.github/workflows/nightly_linux_x86_64.yml
vendored
|
|
@ -1,5 +1,4 @@
|
|||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 9 * * *'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 9 * * *'
|
||||
|
|
@ -18,8 +17,8 @@ jobs:
|
|||
- name: llvm version
|
||||
run: llc --version | grep LLVM
|
||||
|
||||
#- name: run tests
|
||||
# run: cargo test --locked --release
|
||||
- name: run tests
|
||||
run: cargo test --locked --release
|
||||
|
||||
- name: get commit SHA
|
||||
run: echo "SHA=$(git rev-parse --short "$GITHUB_SHA")" >> $GITHUB_ENV
|
||||
|
|
|
|||
1
.github/workflows/nightly_macos_x86_64.yml
vendored
1
.github/workflows/nightly_macos_x86_64.yml
vendored
|
|
@ -1,5 +1,4 @@
|
|||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 9 * * *' # 9=9am utc+0
|
||||
|
|
|
|||
|
|
@ -5,6 +5,10 @@ set -euxo pipefail
|
|||
|
||||
git clone https://github.com/roc-lang/basic-cli.git
|
||||
|
||||
cd basic-cli
|
||||
git checkout new-release
|
||||
cd ..
|
||||
|
||||
if [ "$(uname -m)" == "x86_64" ] && [ "$(uname -s)" == "Linux" ]; then
|
||||
sudo apt-get install musl-tools
|
||||
cd basic-cli/src # we cd to install the target for the right rust version
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue