forgot #379
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# TODO: enable it back | |
# name: Test | |
# on: | |
# push: | |
# branches: "*" | |
# pull_request: | |
# jobs: | |
# test-linux: | |
# runs-on: ubuntu-22.04 | |
# if: ${{ !startsWith(github.ref, 'refs/tags/v') }} | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v3 | |
# with: | |
# submodules: recursive | |
# - name: Install latest stable rust | |
# run: rustup update | |
# - name: Cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: | | |
# ~/.cargo/bin/ | |
# ~/.cargo/registry/index/ | |
# ~/.cargo/registry/cache/ | |
# ~/.cargo/git/db/ | |
# target/ | |
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
# - name: Doc tests | |
# run: | | |
# cargo test --doc | |
# - name: Server Test | |
# env: | |
# ALTV_BRANCH: ${{ github.ref_name }} | |
# run: | | |
# cargo run --bin run_test | |
# test-windows: | |
# runs-on: windows-2022 | |
# if: ${{ !startsWith(github.ref, 'refs/tags/v') }} | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v3 | |
# with: | |
# submodules: recursive | |
# - name: Install latest stable rust | |
# run: rustup update | |
# - name: Install winget | |
# uses: Cyberboss/install-winget@v1 | |
# - name: Install LLVM 17.0.1 | |
# shell: powershell | |
# run: winget install LLVM.LLVM --version 17.0.1 --disable-interactivity --accept-source-agreements --force | |
# - name: Cache | |
# uses: actions/cache@v3 | |
# with: | |
# path: | | |
# ~/.cargo/bin/ | |
# ~/.cargo/registry/index/ | |
# ~/.cargo/registry/cache/ | |
# ~/.cargo/git/db/ | |
# target/ | |
# key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
# - name: Doc tests | |
# shell: cmd | |
# # temp workaround https://github.com/google/autocxx/issues/1327 | |
# run: | | |
# set PATH=%PATH:C:\Program Files\LLVM\bin;=% | |
# echo %PATH% | |
# cargo test --doc | |
# - name: Server Test | |
# env: | |
# ALTV_BRANCH: ${{ github.ref_name }} | |
# shell: cmd | |
# # temp workaround https://github.com/google/autocxx/issues/1327 | |
# run: | | |
# set PATH=%PATH:C:\Program Files\LLVM\bin;=% | |
# echo %PATH% | |
# cargo run --bin run_test |