Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prep release of basic-cli-0-4 #5582

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions .github/workflows/basic_cli_build_release.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
#pull_request:
pull_request:
workflow_dispatch:

# this cancels workflows currently in progress if you start a new one
Expand All @@ -17,16 +17,16 @@ jobs:
steps:
- uses: actions/checkout@v3

- run: curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-latest.tar.gz
- run: curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_x86_64-latest.tar.gz
- run: curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_apple_silicon-latest.tar.gz
- run: curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-linux_x86_64-testing.tar.gz
- run: curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_x86_64-testing.tar.gz
- run: curl -fOL https://github.com/roc-lang/roc/releases/download/nightly/roc_nightly-macos_apple_silicon-testing.tar.gz

- name: Save roc_nightly archives
uses: actions/upload-artifact@v3
with:
path: roc_nightly-*

build-linux-x86_64-files:
build-linux-x64-files:
runs-on: [ubuntu-20.04]
needs: [fetch-releases]
steps:
Expand All @@ -43,13 +43,13 @@ jobs:
- name: Save .rh, .rm and .o file
uses: actions/upload-artifact@v3
with:
name: linux-x86_64-files
name: linux-x64-files
path: |
basic-cli/src/metadata_linux-x86_64.rm
basic-cli/src/linux-x86_64.rh
basic-cli/src/linux-x86_64.o
basic-cli/src/metadata_linux-x64.rm
basic-cli/src/linux-x64.rh
basic-cli/src/linux-x64.o

build-macos-x86_64-files:
build-macos-x64-files:
runs-on: [macos-11] # I expect the generated files to work on macOS 12
needs: [fetch-releases]
steps:
Expand All @@ -63,9 +63,9 @@ jobs:
- name: Save .o files
uses: actions/upload-artifact@v3
with:
name: macos-x86_64-files
name: macos-x64-files
path: |
basic-cli/src/macos-x86_64.o
basic-cli/src/macos-x64.o

build-macos-apple-silicon-files:
name: build apple silicon .o file
Expand All @@ -87,7 +87,7 @@ jobs:
basic-cli/src/macos-arm64.o

create-release-archive:
needs: [build-linux-x86_64-files, build-macos-x86_64-files, build-macos-apple-silicon-files]
needs: [build-linux-x64-files, build-macos-x64-files, build-macos-apple-silicon-files]
name: create release archive
runs-on: [ubuntu-20.04]
steps:
Expand Down Expand Up @@ -115,9 +115,9 @@ jobs:

- run: cp macos-apple-silicon-files/* ./basic-cli/src

- run: cp linux-x86_64-files/* ./basic-cli/src
- run: cp linux-x64-files/* ./basic-cli/src

- run: cp macos-x86_64-files/* ./basic-cli/src
- run: cp macos-x64-files/* ./basic-cli/src

- run: ./roc_nightly/roc build --bundle=${{ env.ARCHIVE_FORMAT }} ./basic-cli/src/main.roc

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: Benchmarks

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: Macos x86-64 rust tests

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown_link_check.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
on:
pull_request:
#pull_request:
schedule:
- cron: '0 9 * * *' # 9=9am utc+0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix_linux_x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: Nix linux x86_64 cargo test

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix_macos_apple_silicon.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: Nix apple silicon cargo test

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nix_macos_x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: Nix macOS x86_64 cargo test

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu_x86_64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: CI

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_release_build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: windows - release build

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_tests.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [pull_request]
#on: [pull_request]

name: windows - subset of tests

Expand Down