mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
nightly tests fixes
This commit is contained in:
parent
64cd70c1da
commit
8e23f96fbd
7 changed files with 17 additions and 12 deletions
2
.github/workflows/ci_manager.yml
vendored
2
.github/workflows/ci_manager.yml
vendored
|
@ -1,5 +1,5 @@
|
|||
on:
|
||||
pull_request:
|
||||
#pull_request:
|
||||
|
||||
name: CI manager
|
||||
|
||||
|
|
2
.github/workflows/nix_macos_x86_64.yml
vendored
2
.github/workflows/nix_macos_x86_64.yml
vendored
|
@ -9,7 +9,7 @@ env:
|
|||
jobs:
|
||||
nix-macos-x86-64:
|
||||
name: nix-macos-x86-64
|
||||
runs-on: [macos-12]
|
||||
runs-on: [macos-13]
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
4
.github/workflows/test_nightly_many_os.yml
vendored
4
.github/workflows/test_nightly_many_os.yml
vendored
|
@ -5,11 +5,11 @@ name: Test latest nightly releases for macOS and Linux x86_64
|
|||
|
||||
jobs:
|
||||
test-nightly:
|
||||
name: test nightly macos 11/12/13, ubuntu 20.04/22.04
|
||||
name: test nightly macos 13 (x64), ubuntu 20.04/22.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ macos-12, macos-13, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
|
||||
os: [ macos-13, ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
|
|
|
@ -29,14 +29,15 @@ mv roc_nightly* roc_nightly
|
|||
cd roc_nightly
|
||||
|
||||
# test rust platform (first prebuild the host)
|
||||
examples/platform-switching/rust-platform/build.sh
|
||||
./roc examples/platform-switching/rocLovesRust.roc
|
||||
# temp disabled
|
||||
# examples/platform-switching/rust-platform/build.sh
|
||||
# ./roc examples/platform-switching/rocLovesRust.roc
|
||||
|
||||
# test zig platform
|
||||
./roc examples/platform-switching/rocLovesZig.roc
|
||||
./roc --build-host --suppress-build-host-warning examples/platform-switching/rocLovesZig.roc
|
||||
|
||||
# test C platform
|
||||
./roc examples/platform-switching/rocLovesC.roc
|
||||
./roc --build-host --suppress-build-host-warning examples/platform-switching/rocLovesC.roc
|
||||
|
||||
# test repl
|
||||
cd ../ci/repl_basic_test
|
||||
|
|
|
@ -62,7 +62,7 @@ mod cli_tests {
|
|||
.unwrap();
|
||||
|
||||
let cli_build = ExecCli::new(
|
||||
roc_cli::CMD_RUN,
|
||||
roc_cli::CMD_DEV,
|
||||
file_from_root("examples/platform-switching", "rocLovesRust.roc"),
|
||||
);
|
||||
|
||||
|
@ -359,7 +359,7 @@ mod cli_tests {
|
|||
mod test_platform_basic_cli {
|
||||
|
||||
use super::*;
|
||||
use roc_cli::CMD_RUN;
|
||||
use roc_cli::CMD_DEV;
|
||||
|
||||
#[test]
|
||||
#[cfg_attr(
|
||||
|
@ -418,7 +418,7 @@ mod cli_tests {
|
|||
)]
|
||||
fn module_params_issue_7116() {
|
||||
let cli_build = ExecCli::new(
|
||||
CMD_RUN,
|
||||
CMD_DEV,
|
||||
file_from_root(
|
||||
"crates/cli/tests/test-projects/module_params",
|
||||
"issue_7116.roc",
|
||||
|
@ -439,7 +439,7 @@ mod cli_tests {
|
|||
)]
|
||||
fn module_params_pass_task() {
|
||||
let cli_build = ExecCli::new(
|
||||
CMD_RUN,
|
||||
CMD_DEV,
|
||||
file_from_root(
|
||||
"crates/cli/tests/test-projects/module_params",
|
||||
"pass_task.roc",
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
app [main] { pf: platform "c-platform/main.roc" }
|
||||
|
||||
# run with `roc --build-host --suppress-build-host-warning rocLovesZig.roc`
|
||||
|
||||
main = "Roc <3 C!\n"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
app [main] { pf: platform "zig-platform/main.roc" }
|
||||
|
||||
# run with `roc --build-host --suppress-build-host-warning rocLovesZig.roc`
|
||||
|
||||
main = "Roc <3 Zig!\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue