Skip to content

Commit

Permalink
Macos test
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Jan 10, 2024
1 parent 9c4f267 commit c6a7714
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 134 deletions.
119 changes: 6 additions & 113 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,128 +1,21 @@
name: CI

on:
#schedule:
# - cron: '2,22,42 * * * *'
workflow_dispatch:
push:
branches: ['*']
pull_request:
branches: ['*']

jobs:
test1:
name: Test1
runs-on: ubuntu-latest
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test2:
name: Test2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test3:
name: Test3
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test4:
name: Test4
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test5:
name: Test5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test6:
name: Test6
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test7:
name: Test7
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test8:
name: Test8
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test9:
name: Test9
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test10:
name: Test10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test11:
name: Test11
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test12:
name: Test12
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test13:
name: Test13
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test14:
name: Test14
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test15:
name: Test15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test16:
name: Test16
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test17:
name: Test17
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test18:
name: Test18
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test19:
name: Test19
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: ./test.sh
test20:
name: Test20
runs-on: ubuntu-latest
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- run: ./test.sh
26 changes: 5 additions & 21 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
#!/bin/bash

set -ex
set -euo pipefail
IFS=$'\n\t'

rustup install 1.71.1
rustup default 1.71.1
cargo -Vv

export CARGO_NET_RETRY=0
export CARGO_HTTP_MULTIPLEXING=false

for package in cargo cargo-make cargo-all-features cargo-deb backtrace deno leptos_icons poem
do
echo $package
cargo new a
cd a
echo "$package = \"*\"" >> Cargo.toml
CARGO_LOG=network=trace,cargo::ops::registry=trace,cargo::core::package=trace,cargo::util::network=trace,cargo::sources::registry=trace \
CARGO_HTTP_DEBUG=true \
CARGO_HOME=chome \
cargo generate-lockfile
cd ..
rm -rf a
done
csrutil status
# Gatekeeper
spctl --status

0 comments on commit c6a7714

Please sign in to comment.