Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: xyproto/sdl2-examples
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: xyproto/sdl2-examples
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: oldada
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 6 files changed
  • 1 contributor

Commits on Jan 16, 2024

  1. Updated the Ada example to use Alire.

    Alire supports various linuxes, windows and macOS (I'm not sure about
    arch linux, work is definitely in progress).
    
    I put myself in as maintainer in alire.toml; they do require an email
    address for the 'maintainers' table, but since it's quite unlikely (?)
    we'll want to release an Alire crate for this example it may not
    matter.
    
    You may want to move main.adb and the executable back to ada/.
    
      * ada/.gitignore: ignore alire-related directories.
      * ada/README.md: updated for Alire.
      * ada/alire.toml: new.
      * ada/main.gpr: added Alire-related options.
      * ada/src/main.adb: renamed from ada/main.adb. Tidied up compiler
          warnings generated in Alire's 'development' profile.
    simonjwright authored and xyproto committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    7d9d9b9 View commit details
    Browse the repository at this point in the history
  2. Fix misnamed Ada project file.

    My first rework changed the name of the main program from Main to
    Ada_Example. On second thoughts, I reverted to Main, but forgot to
    clean the directory, so that config/ada_example_config.gpr was still
    present during tests.
    
      * ada/main.gpr: config/ada_example_config.gpr changed to
          config/main_config.gpr.
          In package Compiler, the Ada_Compiler_Switches now come from
          Main_Config.
    simonjwright committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    e75c33e View commit details
    Browse the repository at this point in the history
  3. Merge pull request #31 from simonjwright/ada-fix1

    Fix misnamed Ada project file.
    simonjwright authored Jan 16, 2024
    Configuration menu
    Copy the full SHA
    e959dbd View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Add CI for ada/.

    Uses alire to do the builds, in job 'alire'.
    
    Includes a temporary job, 'alire-macos-13', which builds ada/ using
    macOS 13 and the latest stable Xcode. This is to check for possible
    effects of the Xcode 15 change to 'ld', which has been found to
    interfere with Ada exception handling. There isn't any exception
    handling in this code, so there _should_ be no impact.
    
      * .github/workflows/main.yml
        (alire): new. Builds ada/ for windows-latest, ubuntu-latest,
          macos-latest.
        (alire-macos-13): new. Builds ada/ for macos-13/xcode-latest.
    simonjwright committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    76fe7ad View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Merge pull request #32 from simonjwright/ada-alire-ci

    Add CI for ada/.
    simonjwright authored Jan 19, 2024
    Configuration menu
    Copy the full SHA
    058310e View commit details
    Browse the repository at this point in the history
Loading