Skip to content

Commit

Permalink
DO NOT PUSH
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed Jan 17, 2025
1 parent 4d59abc commit 0c55afb
Showing 1 changed file with 78 additions and 78 deletions.
156 changes: 78 additions & 78 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,94 +61,94 @@ jobs:
run: |
rustup show
- name: Setup Additional Languages (python3)
uses: actions/setup-python@v4
with:
python-version: '3.9'
# - name: Setup Additional Languages (python3)
# uses: actions/setup-python@v4
# with:
# python-version: '3.9'

- name: Setup Additional Languages (python3 packages)
run: |
python3 -m pip install pyre-check==0.0.59
python3 -m pip install numpy==1.20.1
echo '/github/home/.local/bin' >> $GITHUB_PATH
# - name: Setup Additional Languages (python3 packages)
# run: |
# python3 -m pip install pyre-check==0.0.59
# python3 -m pip install numpy==1.20.1
# echo '/github/home/.local/bin' >> $GITHUB_PATH

- name: Setup Additional Languages (.Net)
uses: actions/setup-dotnet@v4
with:
dotnet-version: '5'

- name: Setup Additional Languages (golang)
uses: actions/setup-go@v3
with:
go-version: '~1.15.0'

- name: Setup Additional Languages (deno)
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Setup Additional Languages (dart)
uses: dart-lang/setup-dart@v1
with:
sdk: 3.5.3

- name: Setup Additional Languages (swift)
# TODO: Use the release version again once
# https://github.com/swift-actions/setup-swift/pull/680
# is merged
uses: swift-actions/setup-swift@bb83339d1e8577741bdc6c65ba551ce7dc0fb854
with:
# older swift versions are having gpg issues https://github.com/swift-actions/setup-swift/issues/520
swift-version: "5.10.1"

- name: Setup Additional Languages (ocaml)
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.0
opam-disable-sandboxing: true

- name: Setup Additional Languages (ocaml packages)
run: |
eval $(opam env)
opam install -y stdint uutf ppxlib
- name: Version Information
run: |
rustc --version
cargo --version
rustup --version
python3 --version
pyre --version
clang++ --version
javac -version
go version
dotnet --list-sdks
deno --version
dart --version
swift --version
eval $(opam env)
ocaml --version
- name: Compile (dev tests)
run: cargo test --no-run --locked

# It's faster to `test` before `build` according to
# https://github.com/rust-lang/rust-analyzer/blob/97b357e41b99ee3d5dd72a1640f6c74e4f4d6b64/.github/workflows/ci.yaml#L55
- name: Compile (dev serde-reflection)
run: cargo build --locked --all-targets
# - name: Setup Additional Languages (golang)
# uses: actions/setup-go@v3
# with:
# go-version: '~1.15.0'

# - name: Setup Additional Languages (deno)
# uses: denoland/setup-deno@v1
# with:
# deno-version: v1.x

# - name: Setup Additional Languages (dart)
# uses: dart-lang/setup-dart@v1
# with:
# sdk: 3.5.3

# - name: Setup Additional Languages (swift)
# # TODO: Use the release version again once
# # https://github.com/swift-actions/setup-swift/pull/680
# # is merged
# uses: swift-actions/setup-swift@bb83339d1e8577741bdc6c65ba551ce7dc0fb854
# with:
# # older swift versions are having gpg issues https://github.com/swift-actions/setup-swift/issues/520
# swift-version: "5.10.1"

# - name: Setup Additional Languages (ocaml)
# uses: ocaml/setup-ocaml@v3
# with:
# ocaml-compiler: 5.0
# opam-disable-sandboxing: true

# - name: Setup Additional Languages (ocaml packages)
# run: |
# eval $(opam env)
# opam install -y stdint uutf ppxlib

# - name: Version Information
# run: |
# rustc --version
# cargo --version
# rustup --version
# python3 --version
# pyre --version
# clang++ --version
# javac -version
# go version
# dotnet --list-sdks
# deno --version
# dart --version
# swift --version
# eval $(opam env)
# ocaml --version

# - name: Compile (dev tests)
# run: cargo test --no-run --locked

# # It's faster to `test` before `build` according to
# # https://github.com/rust-lang/rust-analyzer/blob/97b357e41b99ee3d5dd72a1640f6c74e4f4d6b64/.github/workflows/ci.yaml#L55
# - name: Compile (dev serde-reflection)
# run: cargo build --locked --all-targets

- name: Test (dev)
run: |
eval $(opam env)
cargo test
# eval $(opam env)
cargo test -p serde-generate csharp

- name: Compile (release tests)
run: cargo test --no-run --locked --release --all-features
# - name: Compile (release tests)
# run: cargo test --no-run --locked --release --all-features

- name: Compile (release serde-reflection)
run: cargo build --locked --release --all-targets --all-features
# - name: Compile (release serde-reflection)
# run: cargo build --locked --release --all-targets --all-features

- name: Test (release)
run: |
eval $(opam env)
cargo test --locked --release --all-features
# - name: Test (release)
# run: |
# eval $(opam env)
# cargo test --locked --release --all-features

0 comments on commit 0c55afb

Please sign in to comment.