From d251a66bed09994c71c9ea2cde493ec8590a24d2 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 11 Jan 2023 20:29:33 +0100 Subject: [PATCH] deps: add /deps/**/.github/ to .gitignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Ignore `.github` directories in the `deps` directory. - Remove `deps/base64/base64/.github/`. PR-URL: https://github.com/nodejs/node/pull/46091 Reviewed-By: Colin Ihrig Reviewed-By: Ruy Adorno Reviewed-By: Michaƫl Zasso --- .gitignore | 5 +- deps/base64/base64/.github/workflows/test.yml | 133 ------------------ 2 files changed, 3 insertions(+), 135 deletions(-) delete mode 100644 deps/base64/base64/.github/workflows/test.yml diff --git a/.gitignore b/.gitignore index 11c39db88944c7..9881176886826b 100644 --- a/.gitignore +++ b/.gitignore @@ -136,10 +136,11 @@ tools/*/*.i.tmp /deps/npm/node_modules/.bin/ # Respect V8's .gitignore !deps/v8/** -# Ignore the libuv book and GitHub templates -/deps/uv/.github/ +# Ignore the libuv book /deps/uv/docs/code/ /deps/uv/docs/src/guide/ +# Ignore .github directories +/deps/**/.github/ # Ignore dependencies fetched by tools/v8/fetch_deps.py /deps/.cipd diff --git a/deps/base64/base64/.github/workflows/test.yml b/deps/base64/base64/.github/workflows/test.yml deleted file mode 100644 index 68342a42442eb0..00000000000000 --- a/deps/base64/base64/.github/workflows/test.yml +++ /dev/null @@ -1,133 +0,0 @@ -name: Test - -on: [push, pull_request] - -jobs: - makefile-test: - name: makefile-${{ matrix.runner }}-amd64-${{ matrix.compiler }} ${{ ((matrix.openmp == 1) && '+openmp') || '' }} - runs-on: ${{ matrix.runner }} - strategy: - fail-fast: false - matrix: - runner: ["ubuntu-18.04"] - compiler: ["gcc", "clang"] - openmp: ["0", "1"] - include: - - runner: "macos-11" - compiler: "clang" - openmp: "0" - env: - OPENMP: ${{ matrix.openmp }} - OMP_NUM_THREADS: ${{ ((matrix.openmp == 1) && '2') || '0' }} - CC: ${{ matrix.compiler }} - OBJCOPY: ${{ (startsWith(matrix.runner, 'macos') && 'echo') || 'objcopy' }} - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: Run tests - run: ./test/ci/test.sh - - cmake-test: - name: cmake-${{ matrix.runner }} - runs-on: ${{ matrix.runner }} - strategy: - fail-fast: false - matrix: - runner: ["ubuntu-18.04", "macos-11", "windows-2019"] - steps: - - name: Checkout - uses: actions/checkout@v3 - - name: CMake Configure - run: > - cmake - -B out - -Werror=dev - -DBASE64_BUILD_TESTS=ON - ${{ runner.os != 'Windows' && '-DCMAKE_BUILD_TYPE=Release' || '' }} - ${{ runner.os == 'macOS' && '-DBASE64_WITH_AVX2=OFF' || '' }} - - name: CMake Build - run: cmake --build out --config Release --verbose - - name: CTest - run: ctest --no-tests=error --test-dir out -VV --build-config Release - - alpine-makefile-test: - name: makefile-alpine-amd64-gcc - runs-on: ubuntu-latest - container: - image: alpine:3.12 - env: - CC: gcc - steps: - - name: Install deps - run: apk add --update bash build-base git - - name: Checkout - uses: actions/checkout@v3 - - name: Run tests - run: ./test/ci/test.sh - - alpine-cmake-test: - name: cmake-alpine-amd64-gcc - runs-on: ubuntu-latest - container: - image: alpine:3.12 - steps: - - name: Install deps - run: apk add --update bash build-base cmake git - - name: Checkout - uses: actions/checkout@v3 - - name: CMake Configure - run: cmake -B out -Werror=dev -DBASE64_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release - - name: CMake Build - run: cmake --build out --config Release --verbose - - name: CTest - run: ctest --no-tests=error -VV --build-config Release - working-directory: ./out - - alpine-alt-arch-makefile-test: - name: makefile-alpine-${{matrix.arch}}-${{matrix.cc}} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - arch: [armv7, aarch64, s390x, ppc64le] - cc: [gcc, clang] - steps: - - name: Checkout - uses: actions/checkout@v3 - - uses: uraimo/run-on-arch-action@v2 - with: - arch: ${{matrix.arch}} - distro: alpine_latest - env: | - CC: ${{matrix.cc}} - install: apk add --update bash build-base cmake git ${{matrix.cc}} - run: ./test/ci/test.sh - - alpine-alt-arch-cmake-test: - name: cmake-alpine-${{matrix.arch}}-${{matrix.cc}} - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - arch: [armv7, aarch64, s390x, ppc64le] - cc: [gcc, clang] - steps: - - name: Checkout - uses: actions/checkout@v3 - - uses: uraimo/run-on-arch-action@v2 - with: - arch: ${{matrix.arch}} - distro: alpine_latest - env: | - CC: ${{matrix.cc}} - install: apk add --update bash build-base cmake git ${{matrix.cc}} - run: | - echo "::group::CMake Configure" - cmake -B out -Werror=dev -DBASE64_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Release - echo "::endgroup::CMake Configure" - echo "::group::CMake Build" - cmake --build out --config Release --verbose - echo "::endgroup::CMake Build" - echo "::group::CTest" - ctest --no-tests=error --test-dir out -VV --build-config Release - echo "::endgroup::CTest"