diff --git a/.github/workflows/masonRegCI.yaml b/.github/workflows/masonRegCI.yaml index f39c946..770c37f 100644 --- a/.github/workflows/masonRegCI.yaml +++ b/.github/workflows/masonRegCI.yaml @@ -1,8 +1,8 @@ name: Mason Registry CI on: pull_request: - paths: - - 'Bricks/**' + # paths: + # - 'Bricks/**' jobs: checks_for_package: name: Check Package @@ -16,10 +16,9 @@ jobs: run: | bash ./checkTomls.bash - name: Reconfigure git to use HTTPS - run: > - git config --global url."https://github.com/".insteadof - ssh://git@github.com/ + run: | + git config --global url."https://github.com/".insteadOf git@github.com: + git config --global url."https://".insteadOf git:// - name: CI Check package run: | bash ./util/runMasonCI.bash - diff --git a/util/runMasonCI.bash b/util/runMasonCI.bash index 6a9f517..663bf26 100755 --- a/util/runMasonCI.bash +++ b/util/runMasonCI.bash @@ -4,22 +4,24 @@ git clone --depth=1 --branch=main https://github.com/chapel-lang/chapel.git buildChapel () { - cd chapel || exit 1 - source util/quickstart/setchplenv.bash - export CHPL_REGEXP=re2 - export CHPL_RE2=bundled - make + # cd chapel || exit 1 + # source util/quickstart/setchplenv.bash + # export CHPL_REGEXP=re2 + # export CHPL_RE2=bundled + # make + echo "yep" } # Runs a make check, and if it passes then makes mason makeCheckAndMason () { - make check - output=$? - if [ ${output} -eq 0 ]; then - make mason - else - exit 1 - fi + # make check + # output=$? + # if [ ${output} -eq 0 ]; then + # make mason + # else + # exit 1 + # fi + echo "yep" } # Parses the last merge commit, getting the most recent package added to the registry @@ -28,6 +30,7 @@ checkPackage () { package=$(git diff --name-only HEAD HEAD~1) end=".end" path="$package$end" + echo $path cd "$(dirname "$path")" || exit 1 echo "package detected from git diff: ${package}" echo "package path: ${path}" @@ -57,4 +60,3 @@ mason update mason publish --ci-check exit $? -