Skip to content

chore: update go dependencies #868

chore: update go dependencies

chore: update go dependencies #868

Workflow file for this run

name: "CI"
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: go build ./...
- run: go test ./...
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: go test -c -tags=e2e ./test/...
build-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --build-arg=KUBERNETES_MINOR_VERSION=latest --file Dockerfile .
build-image-efa:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/efa/Dockerfile .
build-image-neuronx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/neuron/Dockerfile .
build-image-nvidia:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/nvidia/Dockerfile .
build-image-nvidia-training:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
docker build --file test/images/nvidia-training/Dockerfile test/images/nvidia-training \
--build-arg PYTORCH_BUILD_ENV="MAX_JOBS=$(($(nproc) - 2)) USE_MKLDNN=0 USE_DISTRIBUTED=0 USE_CUDA=0 USE_ROCM=0 USE_CAFFE2=0 USE_QNNPACK=0 USE_NNPACK=0 USE_XNNPACK=0 USE_MPS=0 BUILD_SHARED_LIBS=OFF USE_FLASH_ATTENTION=0 USE_MEM_EFF_ATTENTION=0 BUILD_TEST=0"
build-image-nvidia-inference:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# hack to free up disk space for build
# ref: https://github.com/easimon/maximize-build-space/blob/master/action.yml
- run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
docker image prune --all --force
docker builder prune -a
- run: |
docker build --file test/images/nvidia-inference/Dockerfile test/images/nvidia-inference \
--build-arg PYTORCH_BUILD_ENV="MAX_JOBS=$(($(nproc) - 2)) USE_MKLDNN=0 USE_DISTRIBUTED=0 USE_CUDA=0 USE_ROCM=0 USE_CAFFE2=0 USE_QNNPACK=0 USE_NNPACK=0 USE_XNNPACK=0 USE_MPS=0 BUILD_SHARED_LIBS=OFF USE_FLASH_ATTENTION=0 USE_MEM_EFF_ATTENTION=0 BUILD_TEST=0"
build-image-neuron-training:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/neuron-training/Dockerfile test/images/neuron-training
build-image-neuron-inference:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file test/images/neuron-inference/Dockerfile test/images/neuron-inference