From 4aeaf589bbad287b5412ccfd7d313bf4b9a61051 Mon Sep 17 00:00:00 2001 From: Gal Schlezinger Date: Mon, 8 Mar 2021 10:51:56 +0200 Subject: [PATCH] comment out rest of builds --- .github/workflows/rust.yml | 180 ++++++++++++++++++------------------- 1 file changed, 90 insertions(+), 90 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c3f1946e..a7c5fe7c 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -7,101 +7,101 @@ on: - master jobs: - fmt: - runs-on: ubuntu-latest - steps: - - uses: hecrj/setup-rust-action@v1 - with: - rust-version: stable - - uses: actions/checkout@v2 - - name: cargo fmt - run: cargo fmt -- --check + # fmt: + # runs-on: ubuntu-latest + # steps: + # - uses: hecrj/setup-rust-action@v1 + # with: + # rust-version: stable + # - uses: actions/checkout@v2 + # - name: cargo fmt + # run: cargo fmt -- --check - unit_tests: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] - steps: - - uses: hecrj/setup-rust-action@v1 - with: - rust-version: stable - - uses: actions/checkout@v2 - - name: Run tests - run: cargo test -- --skip=feature_tests + # unit_tests: + # runs-on: ${{ matrix.os }} + # strategy: + # matrix: + # os: [ubuntu-latest, macOS-latest, windows-latest] + # steps: + # - uses: hecrj/setup-rust-action@v1 + # with: + # rust-version: stable + # - uses: actions/checkout@v2 + # - name: Run tests + # run: cargo test -- --skip=feature_tests - e2e_tests: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] - steps: - - name: Install Fish and Zsh using brew - if: "startsWith(matrix.os, 'macOS')" - run: brew install fish zsh - - name: Install Fish and Zsh using apt - if: "startsWith(matrix.os, 'ubuntu')" - run: sudo apt-get install -y fish zsh - - uses: hecrj/setup-rust-action@v1 - with: - rust-version: stable - - uses: actions/checkout@v2 - - name: Run tests - run: cargo test -- feature_tests + # e2e_tests: + # runs-on: ${{ matrix.os }} + # strategy: + # matrix: + # os: [ubuntu-latest, macOS-latest, windows-latest] + # steps: + # - name: Install Fish and Zsh using brew + # if: "startsWith(matrix.os, 'macOS')" + # run: brew install fish zsh + # - name: Install Fish and Zsh using apt + # if: "startsWith(matrix.os, 'ubuntu')" + # run: sudo apt-get install -y fish zsh + # - uses: hecrj/setup-rust-action@v1 + # with: + # rust-version: stable + # - uses: actions/checkout@v2 + # - name: Run tests + # run: cargo test -- feature_tests - build_release: - runs-on: windows-latest - name: "Release build for Windows" - steps: - - uses: hecrj/setup-rust-action@v1 - with: - rust-version: stable - - uses: actions/checkout@v2 - - name: Build release binary - run: cargo build --release - env: - RUSTFLAGS: "-C target-feature=+crt-static" - - uses: actions/upload-artifact@v2 - with: - name: fnm-windows - path: target/release/fnm.exe + # build_release: + # runs-on: windows-latest + # name: "Release build for Windows" + # steps: + # - uses: hecrj/setup-rust-action@v1 + # with: + # rust-version: stable + # - uses: actions/checkout@v2 + # - name: Build release binary + # run: cargo build --release + # env: + # RUSTFLAGS: "-C target-feature=+crt-static" + # - uses: actions/upload-artifact@v2 + # with: + # name: fnm-windows + # path: target/release/fnm.exe - build_macos_release: - runs-on: macOS-latest - name: "Release build for macOS" - steps: - - uses: hecrj/setup-rust-action@v1 - with: - rust-version: stable - - uses: actions/checkout@v2 - - name: Build release binary - run: cargo build --release - env: - LZMA_API_STATIC: "true" - - name: Strip binary from debug symbols - run: strip target/release/fnm - - name: List dynamically linked libraries - run: otool -L target/release/fnm - - uses: actions/upload-artifact@v2 - with: - name: fnm-macos - path: target/release/fnm + # build_macos_release: + # runs-on: macOS-latest + # name: "Release build for macOS" + # steps: + # - uses: hecrj/setup-rust-action@v1 + # with: + # rust-version: stable + # - uses: actions/checkout@v2 + # - name: Build release binary + # run: cargo build --release + # env: + # LZMA_API_STATIC: "true" + # - name: Strip binary from debug symbols + # run: strip target/release/fnm + # - name: List dynamically linked libraries + # run: otool -L target/release/fnm + # - uses: actions/upload-artifact@v2 + # with: + # name: fnm-macos + # path: target/release/fnm - build_static_linux_binary: - name: "Build static Linux binary" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build static binary - run: | - sudo chown -R 1000:1000 . - docker run --rm -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder:stable \ - cargo build --target x86_64-unknown-linux-gnu --release - sudo chown -R $(whoami):$(whoami) . - - uses: actions/upload-artifact@v2 - with: - name: fnm-linux - path: target/x86_64-unknown-linux-gnu/release/fnm + # build_static_linux_binary: + # name: "Build static Linux binary" + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v2 + # - name: Build static binary + # run: | + # sudo chown -R 1000:1000 . + # docker run --rm -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder:stable \ + # cargo build --target x86_64-unknown-linux-gnu --release + # sudo chown -R $(whoami):$(whoami) . + # - uses: actions/upload-artifact@v2 + # with: + # name: fnm-linux + # path: target/x86_64-unknown-linux-gnu/release/fnm build_static_arm_binary: name: "Build ARM binary"