Unverified Commit f390d33f authored by acpaquette's avatar acpaquette Committed by GitHub
Browse files

Merge branch 'main' into vims

parents 57fa2485 bc50c79a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
version: '0.8.8.{build}'
version: '1.0.0.{build}'


image: Visual Studio 2019
image: Visual Studio 2019


+7 −0
Original line number Original line Diff line number Diff line
## Licensing
This project is mostly composed of free and unencumbered software released into the public domain, and we are unlikely to accept contributions that are not also released into the public domain. Somewhere near the top of each file should have these words:

> This work is free and unencumbered software released into the public domain. In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain.

- [ ] I dedicate any and all copyright interest in this software to the public domain. I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
+49 −0
Original line number Original line Diff line number Diff line
name: aws-doc-deploy

on:
  workflow_run:
    workflows: ["Pull-Request-CI"]
    branches: [main]
    types: 
      - completed

jobs:
  deploy:
    if: ${{ github.event.workflow_run.conclusion == 'success' }}
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: bash -el {0}
    steps:
      - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
        with:
          submodules: true
          fetch-depth: 0
      - uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
        with:
          miniconda-version: "latest"
          activate-environment: ale
          environment-file: doc_environment.yml
          auto-activate-base: false
          auto-update-conda: true

      - name: Check doc build environment
        run: |
          conda list

      - name: Build Docs
        run: |
          cd docs
          doxygen Doxyfile.in
          sphinx-build -b html . public
            
      - name: Set AWS credentials for upload
        uses: aws-actions/configure-aws-credentials@0e613a0980cbf65ed5b322eb7a1e075d28913a83
        with:
          aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          aws-region: us-west-2
      
      - name: Upload to S3
        working-directory: docs
        run: aws s3 sync --delete public s3://asc-public-docs/software_manuals/ale/
+73 −7
Original line number Original line Diff line number Diff line
@@ -3,13 +3,13 @@ name: Pull-Request-CI
on:
on:
  pull_request:
  pull_request:
    branches:
    branches:
      - master
      - main
  push:
  push:
    branches:
    branches:
      - master
      - main


jobs:
jobs:
  Build-and-Test:
  Build-and-Test-LinuxOsx:
    runs-on: ${{ matrix.os }}
    runs-on: ${{ matrix.os }}
    strategy:
    strategy:
      fail-fast: false
      fail-fast: false
@@ -20,12 +20,14 @@ jobs:
      run:
      run:
        shell: bash -l {0}
        shell: bash -l {0}
    steps:
    steps:
      - uses: actions/checkout@v2
      - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
        with:
        with:
          submodules: true
          submodules: true
      - uses: conda-incubator/setup-miniconda@v2
      - uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
        with:
        with:
          miniconda-version: "latest"
          miniforge-version: latest
          use-mamba: true
          channels: conda-forge
          activate-environment: ale
          activate-environment: ale
          environment-file: environment.yml
          environment-file: environment.yml
          auto-activate-base: false
          auto-activate-base: false
@@ -44,7 +46,7 @@ jobs:
        run: |
        run: |
          mkdir -p build
          mkdir -p build
          cd build
          cd build
          cmake -DCMAKE_BUILD_TYPE=RELEASE -DCOVERAGE=ON ..
          cmake -DCMAKE_BUILD_TYPE=RELEASE -DCOVERAGE=ON -DALE_BUILD_DOCS=OFF ..
          cmake --build .
          cmake --build .
      - name: Test C++ Package
      - name: Test C++ Package
        run: |
        run: |
@@ -57,3 +59,67 @@ jobs:
          fail_ci_if_error: true
          fail_ci_if_error: true
          verbose: true
          verbose: true
        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'
        if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.9'

  Build-Docs:
    runs-on: ubuntu-latest
    defaults:
      run:
        shell: bash -el {0}
    steps:
      - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
        with:
          submodules: true
          fetch-depth: 0
      - uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
        with:
          miniforge-version: latest
          use-mamba: true
          channels: conda-forge
          activate-environment: ale
          environment-file: doc_environment.yml
          auto-activate-base: false
          auto-update-conda: true
      - name: Check doc build environment
        run: |
          conda list
      - name: Build Docs
        run: |
          cd docs
          doxygen Doxyfile.in
          sphinx-build -b html . public

  Build-and-Test-Win:
    runs-on: windows-2019
    strategy:
      matrix:
        python-version: ["3.8", "3.9", "3.10", "3.11"]
    steps:
      - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
        with:
          submodules: recursive
      - uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3
        with:
          miniforge-version: latest
          use-mamba: true
          channels: conda-forge
          activate-environment: ale
          environment-file: environment.yml
          auto-activate-base: false
          auto-update-conda: true
          python-version: ${{ matrix.python-version }}
      - name: Check build environment
        run: |
          conda list
      - name: Build Package
        run: |
          mkdir -p build
          cd build
          cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON -G "Visual Studio 16 2019" -A x64 -DALE_BUILD_TESTS=OFF -DALE_BUILD_DOCS=OFF ..
          cmake --build . --target ALL_BUILD --config Release
          ls D:\a\ale\ale\build\Release
      - uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce
        with:
          name: ale
          path: |
            D:\a\ale\ale\build\Release\ale.dll
            D:\a\ale\ale\build\Release\ale.lib
+2 −0
Original line number Original line Diff line number Diff line
@@ -13,6 +13,7 @@ __pycache__/
# Distribution / packaging
# Distribution / packaging
.Python
.Python
build/
build/
docs/
develop-eggs/
develop-eggs/
dist/
dist/
downloads/
downloads/
@@ -222,3 +223,4 @@ dmypy.json
*.CUB
*.CUB
*.img
*.img
*.IMG
*.IMG
print.prt
Loading