auto #559
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"jobs" : { | |
"deploy_github_nightly" : { | |
"if" : "${{ github.ref == 'refs/heads/nightly' }}", | |
"needs" : [ | |
"test" | |
], | |
"runs-on" : "ubuntu-latest", | |
"steps" : [ | |
{ | |
"uses" : "actions/checkout@v2", | |
"with" : { | |
"fetch-depth" : 0, | |
"ref" : "master", | |
"ssh-key" : "${{ secrets.GH_GIT_KEY }}" | |
} | |
}, | |
{ | |
"run" : "git config --global user.name \u0022GitHub Actions\u0022" | |
}, | |
{ | |
"run" : "git config --global user.email \u0022temp@github.test\u0022" | |
}, | |
{ | |
"run" : "git fetch --unshallow origin master || git fetch origin master" | |
}, | |
{ | |
"run" : "git checkout master || git checkout -b master origin/master" | |
}, | |
{ | |
"run" : "git merge -m \u0022auto-merge $GITHUB_REF ($GITHUB_SHA) into master\u0022 $GITHUB_SHA" | |
}, | |
{ | |
"run" : "git push origin master" | |
}, | |
{ | |
"env" : { | |
"BWALLER_URL" : "${{ secrets.BWALLER_URL }}" | |
}, | |
"run" : "curl -sSf $BWALLER_URL | BWALL_GROUP=merger.${GITHUB_REF/refs\u005C/heads\u005C//} BWALL_NAME=${GITHUB_REPOSITORY} bash" | |
} | |
] | |
}, | |
"deploy_github_staging" : { | |
"if" : "${{ github.ref == 'refs/heads/staging' }}", | |
"needs" : [ | |
"test" | |
], | |
"runs-on" : "ubuntu-latest", | |
"steps" : [ | |
{ | |
"uses" : "actions/checkout@v2", | |
"with" : { | |
"fetch-depth" : 0, | |
"ref" : "master", | |
"ssh-key" : "${{ secrets.GH_GIT_KEY }}" | |
} | |
}, | |
{ | |
"run" : "git config --global user.name \u0022GitHub Actions\u0022" | |
}, | |
{ | |
"run" : "git config --global user.email \u0022temp@github.test\u0022" | |
}, | |
{ | |
"run" : "git fetch --unshallow origin master || git fetch origin master" | |
}, | |
{ | |
"run" : "git checkout master || git checkout -b master origin/master" | |
}, | |
{ | |
"run" : "git merge -m \u0022auto-merge $GITHUB_REF ($GITHUB_SHA) into master\u0022 $GITHUB_SHA" | |
}, | |
{ | |
"run" : "git push origin master" | |
}, | |
{ | |
"env" : { | |
"BWALLER_URL" : "${{ secrets.BWALLER_URL }}" | |
}, | |
"run" : "curl -sSf $BWALLER_URL | BWALL_GROUP=merger.${GITHUB_REF/refs\u005C/heads\u005C//} BWALL_NAME=${GITHUB_REPOSITORY} bash" | |
} | |
] | |
}, | |
"test" : { | |
"continue-on-error" : "${{ matrix.experimental }}", | |
"env" : { | |
"CIRCLE_ARTIFACTS" : "/tmp/circle-artifacts/test", | |
"TARGET" : "${{ matrix.env_TARGET }}" | |
}, | |
"runs-on" : "${{ matrix.os }}", | |
"steps" : [ | |
{ | |
"uses" : "actions/checkout@v2", | |
"with" : { | |
"ssh-key" : "${{ secrets.GH_GIT_KEY }}" | |
} | |
}, | |
{ | |
"run" : "mkdir -p $CIRCLE_ARTIFACTS" | |
}, | |
{ | |
"run" : "make test-deps-gha" | |
}, | |
{ | |
"run" : "make test" | |
}, | |
{ | |
"uses" : "actions/upload-artifact@v3", | |
"with" : { | |
"path" : "/tmp/circle-artifacts/test" | |
} | |
} | |
], | |
"strategy" : { | |
"fail-fast" : false, | |
"matrix" : { | |
"include" : [ | |
{ | |
"env_TARGET" : "imagemagick", | |
"experimental" : true, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "modperl", | |
"experimental" : true, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "tls", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-2", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-3", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-4", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-5", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-old", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "svn", | |
"experimental" : true, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "scan", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "lists", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "perl", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "perl-old", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "pm-old", | |
"experimental" : true, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "apache", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "rrdtool", | |
"experimental" : true, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "mecab", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "gd", | |
"experimental" : true, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "env", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "git", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "update", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "install-1", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "normal", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "mysqld", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "docker", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "gnuplot", | |
"experimental" : false, | |
"os" : "ubuntu-latest" | |
}, | |
{ | |
"env_TARGET" : "imagemagick", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "modperl", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "tls", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-2", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-3", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-4", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-5", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "tls-old", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "svn", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "scan", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "lists", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "perl", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "perl-old", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "pm-old", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "apache", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "rrdtool", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "mecab", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "gd", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "env", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "git", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "update", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "install-1", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "normal", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "mysqld", | |
"experimental" : false, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "docker", | |
"experimental" : true, | |
"os" : "macos-latest" | |
}, | |
{ | |
"env_TARGET" : "gnuplot", | |
"experimental" : true, | |
"os" : "macos-latest" | |
} | |
] | |
} | |
} | |
} | |
}, | |
"name" : "test", | |
"on" : { | |
"push" : { | |
} | |
} | |
} |