Skip to content

ci: macos-latest now means M1 #131

ci: macos-latest now means M1

ci: macos-latest now means M1 #131

Workflow file for this run

# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
name: Verification
on:
workflow_dispatch:
inputs:
version:
description: "Version to verify"
required: false
type: string
default: ""
rc:
description: "RC to verify"
required: false
type: string
default: ""
pull_request:
branches:
- main
paths:
- '.github/workflows/verify.yml'
- 'dev/release/verify-release-candidate.sh'
- 'dev/release/verify-release-candidate.ps1'
permissions:
contents: read
jobs:
binary-unix:
name: "Verify Binaries/${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["macos-13", "macos-latest", "ubuntu-latest"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
# No Docker on M1
- name: Skip Binary Verifiction
if: matrix.os == 'macos-latest'
shell: bash
run: |
echo "TEST_APT=0" | tee -a $GITHUB_ENV
echo "TEST_YUM=0" | tee -a $GITHUB_ENV
- name: Verify
shell: bash
env:
CI: "false"
REPOSITORY: ${{ github.repository }}
TEST_DEFAULT: "0"
TEST_BINARIES: "1"
USE_CONDA: "1"
VERBOSE: "1"
run: |
./dev/release/verify-release-candidate.sh ${{ inputs.version }} ${{ inputs.rc }}
source-conda:
name: "Verify Source (Conda)/${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["macos-13", "macos-latest", "ubuntu-latest", "windows-latest"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
submodules: recursive
- uses: conda-incubator/setup-miniconda@v3
# The Unix script will set up conda itself
if: matrix.os == 'windows-latest'
with:
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
- name: Work around ASAN issue (GH-1617)
shell: bash -l {0}
if: matrix.os == 'ubuntu-latest'
run: |
sudo sysctl vm.mmap_rnd_bits=28
- name: Verify
if: matrix.os != 'windows-latest'
env:
CI: "false"
REPOSITORY: ${{ github.repository }}
TEST_DEFAULT: "0"
TEST_SOURCE: "1"
USE_CONDA: "1"
VERBOSE: "1"
run: |
./dev/release/verify-release-candidate.sh ${{ inputs.version }} ${{ inputs.rc }}
- name: Verify
if: matrix.os == 'windows-latest'
shell: pwsh
env:
CI: "false"
REPOSITORY: ${{ github.repository }}
TEST_DEFAULT: "0"
TEST_SOURCE: "1"
USE_CONDA: "1"
VERBOSE: "1"
run: |
.\dev\release\verify-release-candidate.ps1 ${{ inputs.version }} ${{ inputs.rc }}