on: [pull_request, push]
name: Standard Testset
jobs:
  test:
    name: macOS Default
    runs-on: macOS-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Install toolchain
        run: |
          wget https://storage.googleapis.com/swift-tensorflow-artifacts/releases/v0.8/rc1/swift-tensorflow-RELEASE-0.8-osx.pkg
          sudo installer -pkg swift-tensorflow-RELEASE-0.8-osx.pkg -target /
          echo "::set-env name=PATH::/Library/Developer/Toolchains/swift-latest/usr/bin:${PATH}"
      - name: Build
        run: swift build -v
      - name: Test
        run: swift test -v
on: [pull_request, push]
name: Standard Testset
jobs:
  test:
    name: macOS Default
    runs-on: macOS-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Install toolchain
        run: |
          wget https://storage.googleapis.com/swift-tensorflow/mac/swift-tensorflow-DEVELOPMENT-2020-05-09-a-osx.pkg
          sudo installer -pkg swift-tensorflow-DEVELOPMENT-2020-05-09-a-osx.pkg -target /
          echo "::set-env name=PATH::/Library/Developer/Toolchains/swift-latest/usr/bin:${PATH}"
      - name: Build
        run: swift build -v
      - name: Test
        run: swift test -v
Update CI to use latest macOS toolchain.
Update CI to use latest macOS toolchain.

Swift AutoDiff is not stable, so using latest toolchains is important.

Consider using Ubuntu nightly toolchains for CI instead.
The nightly toolchain link doesn't need to be updated.
